We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 319639a2 authored by Evan Prodromou's avatar Evan Prodromou

hide popular notice section on non-private sites

parent a28a6d2f
......@@ -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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment