From ebfc5b2762053960048b4f6a63ddc33482059edd Mon Sep 17 00:00:00 2001 From: Bart Visscher <bartv@thisnet.nl> Date: Fri, 22 Jun 2012 17:17:55 +0200 Subject: [PATCH] Add compatability function for APC cache --- lib/cache/apc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/cache/apc.php b/lib/cache/apc.php index f814afbe49..b1ce87f526 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; + } +} -- GitLab