aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memcache/apc.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memcache/apc.php')
-rw-r--r--lib/memcache/apc.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/memcache/apc.php b/lib/memcache/apc.php
index b3bb68223b4..575ee4427db 100644
--- a/lib/memcache/apc.php
+++ b/lib/memcache/apc.php
@@ -9,15 +9,6 @@
namespace OC\Memcache;
class APC extends Cache {
- protected $prefix;
-
- public function __construct($global = false) {
- $this->prefix = \OC_Util::getInstanceId() . '/';
- if (!$global) {
- $this->prefix .= \OC_User::getUser() . '/';
- }
- }
-
/**
* entries in APC gets namespaced to prevent collisions between owncloud instances and users
*/
@@ -61,7 +52,7 @@ class APC extends Cache {
return false;
} elseif (!ini_get('apc.enable_cli') && \OC::$CLI) {
return false;
- }else{
+ } else {
return true;
}
}