diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-16 15:42:40 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-16 15:42:40 +0200 |
commit | 69048ab71f615ea7a219f7f119855319cf38621d (patch) | |
tree | ae05bac4dea7d0ed37aa46acc3e057089b5f84ce /lib/memcache/xcache.php | |
parent | d82c1dfcabe84709ff02ea5c13c82c573d524937 (diff) | |
download | nextcloud-server-69048ab71f615ea7a219f7f119855319cf38621d.tar.gz nextcloud-server-69048ab71f615ea7a219f7f119855319cf38621d.zip |
memchache: use prefix string instead of global flag
Diffstat (limited to 'lib/memcache/xcache.php')
-rw-r--r-- | lib/memcache/xcache.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/memcache/xcache.php b/lib/memcache/xcache.php index 0ee34c667d3..33de30562f9 100644 --- a/lib/memcache/xcache.php +++ b/lib/memcache/xcache.php @@ -9,15 +9,6 @@ namespace OC\Memcache; class XCache extends Cache { - protected $prefix; - - public function __construct($global = false) { - $this->prefix = \OC_Util::getInstanceId().'/'; - if (!$global) { - $this->prefix .= \OC_User::getUser().'/'; - } - } - /** * entries in XCache gets namespaced to prevent collisions between owncloud instances and users */ |