From 760f61c677ac211222273be18b514ae022182d0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 1 Jun 2022 17:04:47 +0200 Subject: [PATCH] Remove now-unused $landingPages parameter from RoutingCacheBuilder::getCustomUrls() --- .../lib/system/cache/builder/RoutingCacheBuilder.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php index 066ea34817..0c6548ef3b 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php @@ -43,7 +43,7 @@ class RoutingCacheBuilder extends AbstractCacheBuilder 'landingPages' => $this->getLandingPages(), ]; - $data['customUrls'] = $this->getCustomUrls($data['landingPages']); + $data['customUrls'] = $this->getCustomUrls(); $data['applicationOverrides'] = $this->getApplicationOverrides($data['customUrls']); return $this->handleLandingPageWithOverriddenApplication($data); @@ -226,10 +226,9 @@ class RoutingCacheBuilder extends AbstractCacheBuilder * Builds up a lookup and a reverse lookup list per application in order to resolve * custom page mappings. * - * @param array $landingPages * @return array */ - protected function getCustomUrls(array $landingPages) + protected function getCustomUrls() { $data = [ 'lookup' => [], -- 2.20.1