[TYPO3-core] RFC: clear cache does not remove files in typo3temp/cache_pages

Michael Stucki michael at typo3.org
Thu Mar 29 23:55:36 CEST 2007


Hi Dmitry,

> Dmitry Dulepov wrote:
>> Michael Stucki wrote:
>>> Are you sure that extDevEval has changed this line?
>>>
>>> - if ($this->checkStoredRecords_loose && !$value && !$row[$key])  {
>>> + if ($this->checkStoredRecords_loose && !$value && !$row[$key] ||
>>> $TCA[$table]['columns'][$key]['config']['type'] == 'inline')   {
>> 
>> I will recheck. Meanwhile you can use short version of the patch.
> 
> This looks better!

Yes, this is definitely less confusing :-)

The patch is fine and works good, +1 for TYPO3_4-1 and Trunk.

... although I don't really like the opendir() way of removing all files and
directories. Therefore I wrote a new function t3lib_div::rmdir() which is
somewhere on my harddisk, but I need to test it again before I will send
the RFC.
Still, can you please add a comment with "t3lib_div::rmdir" to your code so
I have a chance to find it easily when I'll get back on this?

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list