X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=2bf8a68908fef5d4680235c561912b5e3c2ee4da;hp=bf26ec2eb446187ea7c63b0016ed5e0fb68e79ed;hpb=ae883ceb9b4689f6c1dd3aecdc4a844eda7d179a;p=quix0rs-gnu-social.git diff --git a/lib/clientexception.php b/lib/clientexception.php index bf26ec2eb4..a74cab4a5f 100644 --- a/lib/clientexception.php +++ b/lib/clientexception.php @@ -27,7 +27,7 @@ * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -42,7 +42,6 @@ if (!defined('LACONICA')) { * @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) {