From f55bdb13bb19f40e239dd6d76062b2f90239b4b8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 28 Mar 2015 02:00:16 +0100 Subject: [PATCH] Removed an unnecessary line which causes an issue w/ PHP 5.3 SORT_NATURAL is only available since 5.4 ... --- .../files/lib/system/user/storage/UserStorageHandler.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php b/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php index e2a4afea9c..712d922f24 100644 --- a/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php @@ -163,8 +163,6 @@ class UserStorageHandler extends SingletonFactory { $statement = WCF::getDB()->prepareStatement($sql); $statement->execute(array($field)); - ksort($this->cache, SORT_NATURAL); - foreach ($this->cache as $userID => $fields) { if (isset($fields[$field])) { unset($this->cache[$userID][$field]); -- 2.20.1