[TYPO3-dev] scheduler_task should clear cache for one page
Bernd Wilke
t3ng at pi-phi.tk
Fri Aug 26 10:05:03 CEST 2011
I have written a scheduler-task to import data.
this is working, but the FE-display of the data is cached and after an
data-update the cached page still is shown with old data.
how can I clear cache of a page?
this does not work:
$TCE = t3lib_div::makeInstance('t3lib_TCEmain');
$TCE->clear_cache('pages',$viewPage);
it results in:
Fatal error: Call to a member function getTSConfig() on a non-object in
/home/..../t3lib/class.t3lib_tcemain.php on line 6223
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-dev
mailing list