hide popular notice section on non-private sites
This commit is contained in:
parent
a28a6d2f72
commit
319639a232
@ -210,8 +210,11 @@ class AllAction extends ProfileAction
|
||||
}
|
||||
$ibs->show();
|
||||
}
|
||||
// XXX: make this a little more convenient
|
||||
if (common_config('site', 'private')) {
|
||||
$pop = new PopularNoticeSection($this);
|
||||
$pop->show();
|
||||
}
|
||||
// $pop = new InboxTagCloudSection($this, $this->user);
|
||||
// $pop->show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user