]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't show group tagcloud in high-performance mode
authorEvan Prodromou <evan@status.net>
Tue, 20 Sep 2011 18:04:09 +0000 (14:04 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 20 Sep 2011 18:04:09 +0000 (14:04 -0400)
lib/groupaction.php

index 3a022a94cf0019388e8fe088e4ef560ed667fcc7..a5e62a2a5a523f3e3ea456bd4a833a4fcc0931ef 100644 (file)
@@ -117,9 +117,13 @@ class GroupAction extends Action
             $this->showPending();
             $this->showBlocked();
         }
+
         $this->showAdmins();
-        $cloud = new GroupTagCloudSection($this, $this->group);
-        $cloud->show();
+
+        if (!common_config('performance', 'high')) {
+            $cloud = new GroupTagCloudSection($this, $this->group);
+            $cloud->show();
+        }
     }
 
     /**