X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fattachment_ajax.php;h=fb7d15f8a2f0806fb07c0a62abed96cd2f7b67ff;hb=dbd496f9014adee1d003c08366795a292cf73776;hp=af37c9bcb5510d0a2323b369f646e4809909e2cb;hpb=c5cf2c4c94794a1aeea32a427ddd50e157fa893d;p=quix0rs-gnu-social.git diff --git a/actions/attachment_ajax.php b/actions/attachment_ajax.php index af37c9bcb5..fb7d15f8a2 100644 --- a/actions/attachment_ajax.php +++ b/actions/attachment_ajax.php @@ -27,7 +27,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -42,7 +42,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 { /** @@ -80,4 +79,3 @@ class Attachment_ajaxAction extends AttachmentAction $this->elementEnd('div'); } } -