Forums / Developer / Insert objects from module clear cache problem / Comment45314
Kristof Coomans
Saturday 11 February 2006 1:48:31 am
Hi Martin
This is the code you need:
include_once( 'kernel/classes/ezcontentcachemanager.php' ); eZContentCacheManager::clearContentCacheIfNeeded( $objectID );
Aren't you using the publish operation to insert those content objects? If you're using this operation, clearing caches would be done automatically. Or do these content objects already exist and are you creating additional node assignments?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org