]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add compatability function for APC cache
authorBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 15:17:55 +0000 (17:17 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 15:21:57 +0000 (17:21 +0200)
lib/cache/apc.php

index f814afbe494d748a1e97054be558d89efb7d406a..b1ce87f52671aa388e5db52b4911438b05143740 100644 (file)
@@ -44,3 +44,11 @@ class OC_Cache_APC {
                }
        }
 }
+if(!function_exists('apc_exists')) {
+       function apc_exists($keys)
+       {
+               $result;
+               apc_fetch($keys, $result);
+               return $result;
+       }
+}