Closed (fixed)
Project:
File Cache
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
17 Jun 2012 at 17:35 UTC
Updated:
14 Dec 2018 at 07:30 UTC
Jump to comment: Most recent
Comments
Comment #1
ogi commentedGood catch, thank you! Fixed in c564c74.
Comment #2.0
(not verified) commentedx
Comment #3
interdruper commentedSorry for re-open this one, but the patch was incomplete. Here is what I got:
... and again it's because this:
437 $cache = @unserialize($content); 438 if ($content === FALSE) { 439 continue; 440 } 441 if ($cache->expire != CACHE_PERMANENT && 442 $cache->expire <= $cache_flush) { 443 @unlink($filename); 444 }should be this:
437 $cache = @unserialize($content); 438 if ($cache === FALSE) { 439 continue; 440 } 441 if ($cache->expire != CACHE_PERMANENT && 442 $cache->expire <= $cache_flush) { 443 @unlink($filename); 444 }I can provide a patch against last dev if required.
Comment #4
ogi commented