From 69048ab71f615ea7a219f7f119855319cf38621d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 16 Jul 2013 15:42:40 +0200 Subject: memchache: use prefix string instead of global flag --- lib/memcache/xcache.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/memcache/xcache.php') 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 */ -- cgit v1.2.3