X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fattachment.php;h=3f2ae5c1ce0f89aa7081653b850d8090480aafb6;hb=9e89a177c76741f7e696f09d778bd8b151f84d3f;hp=1126759832a65799744a29c67c6c257d80a8ddb5;hpb=4b65275e41453e71865a5ec7ca12d23d09bffd7f;p=quix0rs-gnu-social.git diff --git a/actions/attachment.php b/actions/attachment.php index 1126759832..3f2ae5c1ce 100644 --- a/actions/attachment.php +++ b/actions/attachment.php @@ -96,7 +96,7 @@ class AttachmentAction extends ManagedAction { if (empty($this->attachment->filename)) { // if it's not a local file, gtfo - common_redirect($this->attachment->url, 303); + common_redirect($this->attachment->getUrl(), 303); } parent::showPage(); @@ -132,9 +132,5 @@ class AttachmentAction extends ManagedAction function showSections() { $ns = new AttachmentNoticeSection($this); $ns->show(); - if (!common_config('performance', 'high')) { - $atcs = new AttachmentTagCloudSection($this); - $atcs->show(); - } } }