disable public tag cloud on public sites
This commit is contained in:
parent
a5518ce35e
commit
b44bb472eb
|
@ -245,8 +245,10 @@ class PublicAction extends Action
|
|||
|
||||
$pop = new PopularNoticeSection($this);
|
||||
$pop->show();
|
||||
$cloud = new PublicTagCloudSection($this);
|
||||
$cloud->show();
|
||||
if (common_config('site', 'private')) {
|
||||
$cloud = new PublicTagCloudSection($this);
|
||||
$cloud->show();
|
||||
}
|
||||
$feat = new FeaturedUsersSection($this);
|
||||
$feat->show();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user