]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/attachment.php
replace 'public' in documentation with 'top'
[quix0rs-gnu-social.git] / actions / attachment.php
index 22018ab043d06e49291c549756468ceddc478e17..f149ca19d987978e4067bf6497431860e0071c74 100644 (file)
@@ -173,7 +173,9 @@ class AttachmentAction extends Action
     function showSections() {
         $ns = new AttachmentNoticeSection($this);
         $ns->show();
-        $atcs = new AttachmentTagCloudSection($this);
-        $atcs->show();
+        if (!common_config('performance', 'high')) {
+            $atcs = new AttachmentTagCloudSection($this);
+            $atcs->show();
+        }
     }
 }