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

@ -83,7 +83,7 @@ class ForumManager
*/
public static function widget($uid, $cid = 0)
{
if (! intval(Features::isEnabled(local_user(), 'forumlist_widget'))) {
if (! intval(Feature::isEnabled(local_user(), 'forumlist_widget'))) {
return;
}
@ -142,7 +142,7 @@ class ForumManager
*/
public static function profileAdvanced($uid)
{
$profile = intval(Features::isEnabled($uid, 'forumlist_profile'));
$profile = intval(Feature::isEnabled($uid, 'forumlist_profile'));
if (! $profile) {
return;
}