### 3.0.0 Alpha 1 (XXXX-YY-ZZ)
* Clipboard support for tags in ACP ("delete" and "set as synonyms").
-* `wcf\data\user\UserProfileCache` for caching user profiles during runtime.
+* `wcf\system\cache\runtime\UserProfileRuntimeCache` for caching user profiles during runtime.
* `wcf\system\cache\builder\EventListenerCacheBuilder` returns `wcf\data\event\listener\EventListener` objects instead of data arrays.
* `wcf\system\cache\source\RedisCacheSource` added.
* Background queue (`wcf\system\background\*`) added.
+++ /dev/null
-<?php
-namespace wcf\data\user;
-use wcf\system\cache\runtime\UserProfileRuntimeCache;
-use wcf\system\SingletonFactory;
-
-/**
- * Caches user profile objects during runtime.
- *
- * @author Matthias Schmidt
- * @copyright 2001-2016 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\Data\User
- * @since 3.0
- *
- * @todo remove this class again
- */
-class UserProfileCache extends SingletonFactory {
- /**
- * @inheritDoc
- */
- public function cacheUserID($userID) {
- UserProfileRuntimeCache::getInstance()->cacheObjectID($userID);
- }
-
- /**
- * @inheritDoc
- */
- public function cacheUserIDs(array $userIDs) {
- UserProfileRuntimeCache::getInstance()->cacheObjectIDs($userIDs);
- }
-
- /**
- * @inheritDoc
- */
- public function getCachedUserProfiles() {
- return UserProfileRuntimeCache::getInstance()->getCachedObjects();
- }
-
- /**
- * @inheritDoc
- */
- public function getUserProfile($userID) {
- return UserProfileRuntimeCache::getInstance()->getObject($userID);
- }
-
- /**
- * @inheritDoc
- */
- public function getUserProfiles(array $userIDs) {
- return UserProfileRuntimeCache::getInstance()->getObjects($userIDs);
- }
-}