diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-22 17:17:55 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-22 17:21:57 +0200 |
commit | ebfc5b2762053960048b4f6a63ddc33482059edd (patch) | |
tree | 8606c7584267e408fd2faade175e34ff1b02e036 /lib/cache/apc.php | |
parent | f655981baf1086243d208f8aa3da8d6e26e32d48 (diff) | |
download | nextcloud-server-ebfc5b2762053960048b4f6a63ddc33482059edd.tar.gz nextcloud-server-ebfc5b2762053960048b4f6a63ddc33482059edd.zip |
Add compatability function for APC cache
Diffstat (limited to 'lib/cache/apc.php')
-rw-r--r-- | lib/cache/apc.php | 8 |
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; + } +} |