Removed an unnecessary line which causes an issue w/ PHP 5.3
authorAlexander Ebert <ebert@woltlab.com>
Sat, 28 Mar 2015 01:00:16 +0000 (02:00 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 28 Mar 2015 01:00:16 +0000 (02:00 +0100)
SORT_NATURAL is only available since 5.4 ...

wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php

index e2a4afea9c05f341df6be365d9d67f4c5187147f..712d922f24906563ecfc2908b20349f1591ae1dc 100644 (file)
@@ -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]);