]> 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 4caa159f3a456918ecb6f3923944fed796711cd9..24ecabacf2bebc4c91183f824937373071418873 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Laconica, the distributed open-source microblogging tool
+ * StatusNet, the distributed open-source microblogging tool
  *
  * Show notice attachments
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  * @category  Personal
- * @package   Laconica
- * @author    Evan Prodromou <evan@controlyourself.ca>
- * @copyright 2008-2009 Control Yourself, Inc.
+ * @package   StatusNet
+ * @author    Evan Prodromou <evan@status.net>
+ * @copyright 2008-2009 StatusNet, Inc.
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link      http://laconi.ca/
+ * @link      http://status.net/
  */
 
-if (!defined('LACONICA')) {
-    exit(1);
-}
+if (!defined('GNUSOCIAL') && !defined('STATUSNET')) { exit(1); }
 
 require_once INSTALLDIR.'/actions/attachment.php';
 
@@ -37,12 +35,11 @@ require_once INSTALLDIR.'/actions/attachment.php';
  * Show notice attachments
  *
  * @category Personal
- * @package  Laconica
- * @author   Evan Prodromou <evan@controlyourself.ca>
+ * @package  StatusNet
+ * @author   Evan Prodromou <evan@status.net>
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link     http://laconi.ca/
+ * @link     http://status.net/
  */
-
 class Attachment_ajaxAction extends AttachmentAction
 {
     /**
@@ -58,7 +55,7 @@ class Attachment_ajaxAction extends AttachmentAction
         }
     }
 
-    function handle($args)
+    protected function handle()
     {
         $this->showPage();
     }
@@ -80,4 +77,3 @@ class Attachment_ajaxAction extends AttachmentAction
         $this->elementEnd('div');
     }
 }
-