X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fclientexception.php;h=a74cab4a5fc1b3e77123126220ea36d8a4fe2069;hb=7220b3ddd4a32b947e851c946cb6ad6146bebf7d;hp=3020d7f506d985794725b5454fa3f36db1acd088;hpb=73b8de7c4c70d9d53537191ca273e131b76b81e9;p=quix0rs-gnu-social.git diff --git a/lib/clientexception.php b/lib/clientexception.php index 3020d7f506..a74cab4a5f 100644 --- a/lib/clientexception.php +++ b/lib/clientexception.php @@ -1,6 +1,6 @@ . * * @category Exception - * @package Laconica - * @author Evan Prodromou - * @copyright 2008 Control Yourself, Inc. + * @package StatusNet + * @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); } @@ -37,12 +37,11 @@ if (!defined('LACONICA')) { * Subclass of PHP Exception for user errors. * * @category Exception - * @package Laconica - * @author Evan Prodromou + * @package StatusNet + * @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) {