]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/attachment.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / actions / attachment.php
index 321525a55f1fb40b2b4c43f51d1c1adfced0e02c..56ecceb860e00cd31e51816abbbd43fa66fb8afc 100644 (file)
@@ -71,7 +71,6 @@ class AttachmentAction extends Action
         if (empty($this->attachment)) {
             // TRANS: Client error displayed trying to get a non-existing attachment.
             $this->clientError(_('No such attachment.'), 404);
-            return false;
         }
         return true;
     }