flushCache() public method

Flush the submission cache.
public flushCache ( )
Ejemplo n.º 1
0
 function flushCache()
 {
     // Because both publishedArticles and articles are cached by
     // article ID, flush both caches on update.
     parent::flushCache();
     $publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
     $cache = $publishedArticleDao->_getPublishedArticleCache();
     $cache->flush();
 }