Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Component/s: Caching
-
Labels:None
Description
lib\Doctrine\Common\Cache\ApcCache.php
The function "doFlush" only clears opcode cache.
The user cache is never cleared.
To correct it, one solution should be :
protected function doFlush() { $res = false; $bool1 = apc_clear_cache(); $bool2 = apc_clear_cache('user'); if ($bool1 && $bool2) { $res = true; } return $res; }