ArticleDAO::flushCache PHP Method

flushCache() public method

public flushCache ( )
    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();
    }