From: Tim Düsterhus Date: Fri, 27 May 2022 13:09:54 +0000 (+0200) Subject: Deprecate RequestHandler::inRescueMode() X-Git-Tag: 6.0.0_Alpha_1~1244^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9769dffe2242c09e64d547203cc4ee4176125e36;p=GitHub%2FWoltLab%2FWCF.git Deprecate RequestHandler::inRescueMode() This method was unable to return anything except true. --- diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 93bf1717c1..cce6484601 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -38,12 +38,6 @@ final class RequestHandler extends SingletonFactory */ protected $activeRequest; - /** - * true, if current domain mismatch any known domain - * @var bool - */ - protected $inRescueMode = false; - /** * indicates if the request is an acp request * @var bool @@ -327,12 +321,10 @@ final class RequestHandler extends SingletonFactory } /** - * Returns true, if current host mismatches any known domain. - * - * @return bool + * @deprecated 5.6 - This method always returns false. */ public function inRescueMode() { - return $this->inRescueMode; + return false; } }