Changeset View
Changeset View
Standalone View
Standalone View
src/cache/PhutilAPCKeyValueCache.php
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | if ($is_apcu) { | ||||
apcu_clear_cache(); | apcu_clear_cache(); | ||||
} else { | } else { | ||||
apc_clear_cache('user'); | apc_clear_cache('user'); | ||||
} | } | ||||
return $this; | return $this; | ||||
} | } | ||||
private static function isAPCU() { | private static function isAPCu() { | ||||
return function_exists('apcu_fetch'); | return function_exists('apcu_fetch'); | ||||
} | } | ||||
} | } |