]> 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 45aa78728a2510d08182371950e2e0f66112cc9d..f149ca19d987978e4067bf6497431860e0071c74 100644 (file)
@@ -143,15 +143,6 @@ class AttachmentAction extends Action
         }
     }
 
-    /**
-     * Don't show local navigation
-     *
-     * @return void
-     */
-    function showLocalNavBlock()
-    {
-    }
-
     /**
      * Fill the content area of the page
      *
@@ -182,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();
+        }
     }
 }