X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fattachment.php;h=f149ca19d987978e4067bf6497431860e0071c74;hb=59043dca7fb6f974b11797c4d0f20e5b78b0611d;hp=45aa78728a2510d08182371950e2e0f66112cc9d;hpb=b83e7005ed9dfe8675f9fbbae00650a8c6a62511;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(); + } } }