mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Comstants for features
This commit is contained in:
parent
d824bb536f
commit
c041c65c1d
20 changed files with 273 additions and 274 deletions
|
@ -172,8 +172,7 @@ class GroupManager
|
|||
*/
|
||||
public static function profileAdvanced($uid)
|
||||
{
|
||||
$profile = intval(Feature::isEnabled($uid, 'forumlist_profile'));
|
||||
if (!$profile) {
|
||||
if (!Feature::isEnabled($uid, Feature::GROUPS)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue