Rename to singular
Rename and update references. Standards and a require_once.
This commit is contained in:
@@ -108,7 +108,7 @@ function networks_widget($baseurl, $selected = '') {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (!Features::isEnabled(local_user(), 'networks')) {
|
||||
if (!Feature::isEnabled(local_user(), 'networks')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ function fileas_widget($baseurl, $selected = '') {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (! Features::isEnabled(local_user(), 'filing')) {
|
||||
if (! Feature::isEnabled(local_user(), 'filing')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -181,7 +181,7 @@ function categories_widget($baseurl, $selected = '') {
|
||||
|
||||
$a = get_app();
|
||||
|
||||
if (! Features::isEnabled($a->profile['profile_uid'], 'categories')) {
|
||||
if (! Feature::isEnabled($a->profile['profile_uid'], 'categories')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user