Fixed a double-fetch issue
authorAlexander Ebert <ebert@woltlab.com>
Wed, 31 May 2017 14:39:13 +0000 (16:39 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 31 May 2017 14:39:19 +0000 (16:39 +0200)
See #2283

wcfsetup/install/files/lib/system/cache/runtime/UserProfileRuntimeCache.class.php

index 2da4d46739337d64c182ea1e2ee18461cfe4b25a..4f3549eb43872e7383bf992e3df2854a8b7df141 100644 (file)
@@ -33,7 +33,6 @@ class UserProfileRuntimeCache extends AbstractRuntimeCache {
                $objectID = $profile->getObjectID();
                
                if (!isset($this->objects[$objectID])) {
-                       $this->objectIDs[] = $objectID;
                        $this->objects[$objectID] = $profile;
                }
        }