From: Evan Prodromou Date: Mon, 19 Sep 2011 23:37:58 +0000 (-0400) Subject: disable public tag cloud on public sites X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b44bb472ebfa8b0f1e80dc5c7e0896bccf43c891;p=quix0rs-gnu-social.git disable public tag cloud on public sites --- diff --git a/actions/public.php b/actions/public.php index f62d032ef8..0e403f5af5 100644 --- a/actions/public.php +++ b/actions/public.php @@ -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(); }