X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=2bf8a68908fef5d4680235c561912b5e3c2ee4da;hp=cab8dd513b3707d5565ce58e881bf10d0bed4a5b;hpb=c8b8f07af14ad2ce9d0c0267962dd3bbf6473a4b;p=quix0rs-gnu-social.git diff --git a/lib/clientexception.php b/lib/clientexception.php index cab8dd513b..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://laconi.ca/ + * @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://laconi.ca/ + * @link http://status.net/ */ - class ClientException extends Exception { public function __construct($message = null, $code = 400) {