Fixed Upgrade caching bugs
This commit is contained in:
parent
9de92a87a4
commit
728fccc2fe
3 changed files with 33 additions and 15 deletions
|
@ -29,4 +29,10 @@ class Cache
|
|||
$cacheKey = self::createCacheKey($key, $isUserValue, $userId);
|
||||
return apc_fetch($cacheKey);
|
||||
}
|
||||
|
||||
public static function clear()
|
||||
{
|
||||
apc_clear_cache('user');
|
||||
apc_clear_cache();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue