From 6e245aac6c147a648e7eaafa66b2f5a43030ed74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 6 Jul 2021 11:34:17 +0200 Subject: [PATCH] Move call to `checkAppEvaluation()` into `handle()` It fits better here to cleanly separate the handling from the building. No behavioral change was found. --- .../install/files/lib/system/request/RequestHandler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 079d50424c..2f493a18d6 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -86,6 +86,8 @@ class RequestHandler extends SingletonFactory throw new IllegalLinkException(); } + $this->checkAppEvaluation(); + $this->checkOfflineMode(); // start request @@ -210,8 +212,6 @@ class RequestHandler extends SingletonFactory $metaData ); - $this->checkAppEvaluation(); - if (!$this->isACPRequest()) { // determine if current request matches the landing page if (ControllerMap::getInstance()->isLandingPage($classData, $metaData)) { -- 2.20.1