From: Tim Düsterhus Date: Thu, 23 Jun 2022 15:04:24 +0000 (+0200) Subject: Remove `isDefaultController` from request metadata X-Git-Tag: 6.0.0_Alpha_1~1151^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4420200c6eb2d9005f25c588b6d3f13e9a3baa4;p=GitHub%2FWoltLab%2FWCF.git Remove `isDefaultController` from request metadata This is currently unused and its value is questionable at best. --- 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'],