From 1e810091d55a1dccb09e1fd4066e8fc8c3b380ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Thu, 1 Feb 2018 12:57:13 +0100 Subject: [PATCH] Remove workaround for omitting index.php in Page::getDisplayLink() --- wcfsetup/install/files/lib/data/page/Page.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wcfsetup/install/files/lib/data/page/Page.class.php b/wcfsetup/install/files/lib/data/page/Page.class.php index 617756d757..bef7da43d6 100644 --- a/wcfsetup/install/files/lib/data/page/Page.class.php +++ b/wcfsetup/install/files/lib/data/page/Page.class.php @@ -184,10 +184,6 @@ class Page extends DatabaseObject implements ILinkableObject, ITitledObject { public function getDisplayLink() { $link = preg_replace('~^https?://~', '', $this->getLink()); - if (URL_OMIT_INDEX_PHP) { - $link = str_replace('index.php?', '', $link); - } - return $link; } -- 2.20.1