X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fattachment_ajax.php;h=24ecabacf2bebc4c91183f824937373071418873;hb=418b3c3c53194040022c4b56bd0c0b04fd6fd4d7;hp=1e07280750267a30dd13510fabeda0e83175ae20;hpb=5d09b6b3f0595540c66b703ae085f0af904fe30f;p=quix0rs-gnu-social.git diff --git a/actions/attachment_ajax.php b/actions/attachment_ajax.php index 1e07280750..24ecabacf2 100644 --- a/actions/attachment_ajax.php +++ b/actions/attachment_ajax.php @@ -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'; @@ -42,7 +40,6 @@ require_once INSTALLDIR.'/actions/attachment.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @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'); } } -