Skip to content

Commit baefdbe

Browse files
committed
Fixed #680
1 parent 8b2d7c0 commit baefdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Phpfastcache/Drivers/Apc/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function driverDelete(CacheItemInterface $item): bool
117117
*/
118118
protected function driverClear(): bool
119119
{
120-
return @apc_clear_cache() && @apc_clear_cache('user');
120+
return @apc_clear_cache() || @apc_clear_cache('user');
121121
}
122122

123123
/********************

0 commit comments

Comments
 (0)