X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=f1bfbece06d7db20fa144fe5ac8a2f6c589eff45;hp=c1492be74543b31250fa9f4d8097190519ea70ef;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/lib/clientexception.php b/lib/clientexception.php index c1492be745..a74cab4a5f 100644 --- a/lib/clientexception.php +++ b/lib/clientexception.php @@ -21,13 +21,13 @@ * * @category Exception * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou * @copyright 2008 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -38,11 +38,10 @@ if (!defined('LACONICA')) { * * @category Exception * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou * @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) {