]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/attachment.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / actions / attachment.php
index 45d9b194c93542dafc3913385275d04608fc3ac1..0bdead84a07e62806c4a7306c1c8d3c9f197e52e 100644 (file)
@@ -92,21 +92,14 @@ class AttachmentAction extends ManagedAction
         return $a->title();
     }
 
-    /**
-     * Handle input
-     *
-     * Only handles get, so just show the page.
-     *
-     * @return void
-     */
-    protected function handle()
+    public function showPage()
     {
         if (empty($this->attachment->filename)) {
             // if it's not a local file, gtfo
             common_redirect($this->attachment->url, 303);
         }
 
-        parent::handle();
+        parent::showPage();
     }
 
     /**