From: Alexander Ebert Date: Sat, 28 Mar 2015 01:00:16 +0000 (+0100) Subject: Removed an unnecessary line which causes an issue w/ PHP 5.3 X-Git-Tag: 2.1.2_pl_1~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f55bdb13bb19f40e239dd6d76062b2f90239b4b8;p=GitHub%2FWoltLab%2FWCF.git Removed an unnecessary line which causes an issue w/ PHP 5.3 SORT_NATURAL is only available since 5.4 ... --- 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]);