X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=43a67b150a4e4285224ccf695171df731c736a1e;hp=5981f8bb8c997b7dc3958aa47d6013e1ed10286a;hpb=be5d113fc684fcbe41b8374c62bfeb0f267216b7;p=quix0rs-gnu-social.git diff --git a/lib/clientexception.php b/lib/clientexception.php index 5981f8bb8c..a74cab4a5f 100644 --- a/lib/clientexception.php +++ b/lib/clientexception.php @@ -27,7 +27,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -42,7 +42,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class ClientException extends Exception { public function __construct($message = null, $code = 400) {