X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=bab012bd67bdaf431f7bdba707c9fdebb7d6b6bb;hp=5981f8bb8c997b7dc3958aa47d6013e1ed10286a;hpb=865b716f0919b6e5133133cd6be53f4143660324;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) {