Replace "forum" by "group" in the rest of the code
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Friendica\Module\Profile;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Feature;
|
||||
use Friendica\Content\ForumManager;
|
||||
use Friendica\Content\GroupManager;
|
||||
use Friendica\Content\Nav;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
@@ -254,12 +254,12 @@ class Profile extends BaseProfile
|
||||
);
|
||||
}
|
||||
|
||||
//show subscribed forum if it is enabled in the usersettings
|
||||
//show subscribed group if it is enabled in the usersettings
|
||||
if (Feature::isEnabled($profile['uid'], 'forumlist_profile')) {
|
||||
$custom_fields += self::buildField(
|
||||
'forumlist',
|
||||
$this->t('Forums:'),
|
||||
ForumManager::profileAdvanced($profile['uid'])
|
||||
'group_list',
|
||||
$this->t('Groups:'),
|
||||
GroupManager::profileAdvanced($profile['uid'])
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user