From: Philipp <admin@philipp.info> Date: Fri, 5 Nov 2021 20:13:27 +0000 (+0100) Subject: Fixed `MovedPermanently` exception name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ccc4e5e40cc626ce9cdaed837d0a7f997984b49d;p=friendica.git Fixed `MovedPermanently` exception name --- diff --git a/src/Network/HTTPException/MovedPermanently.php b/src/Network/HTTPException/MovedPermanently.php deleted file mode 100644 index 7ded3847a3..0000000000 --- a/src/Network/HTTPException/MovedPermanently.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * @copyright Copyright (C) 2010-2021, the Friendica project - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * - */ - -namespace Friendica\Network\HTTPException; - -use Friendica\Network\HTTPException; - -class MovedPermanentlyException extends HTTPException -{ - protected $code = 301; - protected $httpdesc = 'Moved Permanently'; -} diff --git a/src/Network/HTTPException/MovedPermanentlyException.php b/src/Network/HTTPException/MovedPermanentlyException.php new file mode 100644 index 0000000000..7ded3847a3 --- /dev/null +++ b/src/Network/HTTPException/MovedPermanentlyException.php @@ -0,0 +1,30 @@ +<?php +/** + * @copyright Copyright (C) 2010-2021, the Friendica project + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + * + */ + +namespace Friendica\Network\HTTPException; + +use Friendica\Network\HTTPException; + +class MovedPermanentlyException extends HTTPException +{ + protected $code = 301; + protected $httpdesc = 'Moved Permanently'; +}