From 5557d78247bd733bef362065daff5019da65b85d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Thu, 1 Feb 2018 12:50:23 +0100 Subject: [PATCH] Remove workaround for display links --- wcfsetup/install/files/lib/data/page/Page.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wcfsetup/install/files/lib/data/page/Page.class.php b/wcfsetup/install/files/lib/data/page/Page.class.php index 9a9a5236c1..617756d757 100644 --- a/wcfsetup/install/files/lib/data/page/Page.class.php +++ b/wcfsetup/install/files/lib/data/page/Page.class.php @@ -183,9 +183,6 @@ class Page extends DatabaseObject implements ILinkableObject, ITitledObject { */ public function getDisplayLink() { $link = preg_replace('~^https?://~', '', $this->getLink()); - if ($this->controllerCustomURL) { - $link = preg_replace('~(index\.php\?)[^/]+/$~', "\$1{$this->controllerCustomURL}/", $link); - } if (URL_OMIT_INDEX_PHP) { $link = str_replace('index.php?', '', $link); -- 2.20.1