]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/attachment_ajax.php
Some files got updated coding style
[quix0rs-gnu-social.git] / actions / attachment_ajax.php
index fb7d15f8a2f0806fb07c0a62abed96cd2f7b67ff..24ecabacf2bebc4c91183f824937373071418873 100644 (file)
@@ -27,9 +27,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET') && !defined('LACONICA')) {
-    exit(1);
-}
+if (!defined('GNUSOCIAL') && !defined('STATUSNET')) { exit(1); }
 
 require_once INSTALLDIR.'/actions/attachment.php';
 
@@ -57,7 +55,7 @@ class Attachment_ajaxAction extends AttachmentAction
         }
     }
 
-    function handle($args)
+    protected function handle()
     {
         $this->showPage();
     }