summaryrefslogtreecommitdiffstats
path: root/lib/memcache/xcache.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-16 15:42:40 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-16 15:42:40 +0200
commit69048ab71f615ea7a219f7f119855319cf38621d (patch)
treeae05bac4dea7d0ed37aa46acc3e057089b5f84ce /lib/memcache/xcache.php
parentd82c1dfcabe84709ff02ea5c13c82c573d524937 (diff)
downloadnextcloud-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.php9
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
*/