/** * purge cache for connected articles * * @access public * @author Krzysztof Krzyżaniak <*****@*****.**> * */ public function invalidateCacheConnected(BlogArticle $article) { $title = $article->getTitle(); $title->invalidateCache(); /** * this should be subpage, invalidate page as well */ list($page, $subpage) = explode("/", $title->getDBkey()); $title = Title::newFromDBkey($page); $title->invalidateCache(); $article->clearBlogListing(); }