X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fattachment.php;h=f149ca19d987978e4067bf6497431860e0071c74;hb=b4da5f3785de138b9b7c3672d331676ea7929c16;hp=45aa78728a2510d08182371950e2e0f66112cc9d;hpb=8eb66467165e107d0c80c64f6c429fed1d1101d5;p=quix0rs-gnu-social.git diff --git a/actions/attachment.php b/actions/attachment.php index 45aa78728a..f149ca19d9 100644 --- a/actions/attachment.php +++ b/actions/attachment.php @@ -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(); + } } }