From: Marcel Werk Date: Sun, 29 May 2016 09:28:14 +0000 (+0200) Subject: Removed obsolete code X-Git-Tag: 3.0.0_Beta_1~1582 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f7395ac964efc98bd8652607eff3a8bcd8e320ed;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code --- diff --git a/wcfsetup/install/files/lib/page/MembersListPage.class.php b/wcfsetup/install/files/lib/page/MembersListPage.class.php index 604f59d032..2561203a9d 100644 --- a/wcfsetup/install/files/lib/page/MembersListPage.class.php +++ b/wcfsetup/install/files/lib/page/MembersListPage.class.php @@ -3,7 +3,6 @@ namespace wcf\page; use wcf\data\search\Search; use wcf\data\user\User; use wcf\data\user\UserProfileList; -use wcf\system\database\PostgreSQLDatabase; use wcf\system\exception\IllegalLinkException; use wcf\system\request\LinkHandler; use wcf\system\user\storage\UserStorageHandler; @@ -122,14 +121,7 @@ class MembersListPage extends SortablePage { if (!empty($this->letter)) { if ($this->letter == '#') { - // PostgreSQL - if (WCF::getDB() instanceof PostgreSQLDatabase) { - $this->objectList->getConditionBuilder()->add("SUBSTRING(username FROM 1 for 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')"); - } - else { - // MySQL - $this->objectList->getConditionBuilder()->add("SUBSTRING(username,1,1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')"); - } + $this->objectList->getConditionBuilder()->add("SUBSTRING(username,1,1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')"); } else { $this->objectList->getConditionBuilder()->add("username LIKE ?", [$this->letter.'%']);