mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Add compatability function for APC cache
This commit is contained in:
parent
f655981baf
commit
ebfc5b2762
1 changed files with 8 additions and 0 deletions
8
lib/cache/apc.php
vendored
8
lib/cache/apc.php
vendored
|
|
@ -44,3 +44,11 @@ class OC_Cache_APC {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(!function_exists('apc_exists')) {
|
||||
function apc_exists($keys)
|
||||
{
|
||||
$result;
|
||||
apc_fetch($keys, $result);
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue