Rename to singular
Rename and update references. Standards and a require_once.
This commit is contained in:
parent
2f0da29c75
commit
6e5471def3
22 changed files with 59 additions and 56 deletions
|
|
@ -301,7 +301,7 @@ function cal_content(App $a) {
|
|||
|
||||
// Test permissions
|
||||
// Respect the export feature setting for all other /cal pages if it's not the own profile
|
||||
if( ((local_user() !== intval($owner_uid))) && ! Features::isEnabled($owner_uid, "export_calendar")) {
|
||||
if( ((local_user() !== intval($owner_uid))) && ! Feature::isEnabled($owner_uid, "export_calendar")) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
goaway('cal/' . $nick);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue