Rename to singular

Rename and update references. Standards and a require_once.
This commit is contained in:
Adam Magness 2017-12-04 09:01:27 -05:00
parent 2f0da29c75
commit 6e5471def3
22 changed files with 59 additions and 56 deletions

View file

@ -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 '';
}