summaryrefslogtreecommitdiffstats
path: root/lib/cache
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-22 17:17:55 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-22 17:21:57 +0200
commitebfc5b2762053960048b4f6a63ddc33482059edd (patch)
tree8606c7584267e408fd2faade175e34ff1b02e036 /lib/cache
parentf655981baf1086243d208f8aa3da8d6e26e32d48 (diff)
downloadnextcloud-server-ebfc5b2762053960048b4f6a63ddc33482059edd.tar.gz
nextcloud-server-ebfc5b2762053960048b4f6a63ddc33482059edd.zip
Add compatability function for APC cache
Diffstat (limited to 'lib/cache')
-rw-r--r--lib/cache/apc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cache/apc.php b/lib/cache/apc.php
index f814afbe494..b1ce87f5267 100644
--- a/lib/cache/apc.php
+++ b/lib/cache/apc.php
@@ -44,3 +44,11 @@ class OC_Cache_APC {
}
}
}
+if(!function_exists('apc_exists')) {
+ function apc_exists($keys)
+ {
+ $result;
+ apc_fetch($keys, $result);
+ return $result;
+ }
+}