summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache/apcu.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/memcache/apcu.php')
-rw-r--r--lib/private/memcache/apcu.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/private/memcache/apcu.php b/lib/private/memcache/apcu.php
index dac0f5f208a..7f780f32718 100644
--- a/lib/private/memcache/apcu.php
+++ b/lib/private/memcache/apcu.php
@@ -9,13 +9,6 @@
namespace OC\Memcache;
class APCu extends APC {
- public function clear($prefix = '') {
- $ns = $this->getNamespace() . $prefix;
- $ns = preg_quote($ns, '/');
- $iter = new \APCIterator('user', '/^'.$ns.'/');
- return apc_delete($iter);
- }
-
static public function isAvailable() {
if (!extension_loaded('apcu')) {
return false;