From d4420200c6eb2d9005f25c588b6d3f13e9a3baa4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 23 Jun 2022 17:04:24 +0200 Subject: [PATCH] Remove `isDefaultController` from request metadata This is currently unused and its value is questionable at best. --- .../install/files/lib/system/request/RequestHandler.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 4398557943..592b711f3e 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -197,9 +197,7 @@ final class RequestHandler extends SingletonFactory } // handle CMS page meta data - $metaData = [ - 'isDefaultController' => RouteHandler::getInstance()->isDefaultController() - ]; + $metaData = []; if (isset($routeData['cmsPageID'])) { $metaData['cms'] = [ 'pageID' => $routeData['cmsPageID'], -- 2.20.1