From: Joshua Rüsweg Date: Thu, 1 Feb 2018 11:50:23 +0000 (+0100) Subject: Remove workaround for display links X-Git-Tag: 3.1.0_RC_3~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5557d78247bd733bef362065daff5019da65b85d;p=GitHub%2FWoltLab%2FWCF.git Remove workaround for display links --- 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);