hide popular notice section on non-private sites

This commit is contained in:
Evan Prodromou 2011-09-19 16:19:12 -04:00
parent a28a6d2f72
commit 319639a232

View File

@ -210,8 +210,11 @@ class AllAction extends ProfileAction
}
$ibs->show();
}
$pop = new PopularNoticeSection($this);
$pop->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();
}