From b44bb472ebfa8b0f1e80dc5c7e0896bccf43c891 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 19 Sep 2011 19:37:58 -0400 Subject: [PATCH] disable public tag cloud on public sites --- actions/public.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); } -- 2.39.5