Play safe and clear the article object internals, too (eg. mTouched).
authorPlatonides <platonides@users.mediawiki.org>
Tue, 28 Dec 2010 18:16:46 +0000 (18:16 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 28 Dec 2010 18:16:46 +0000 (18:16 +0000)
includes/Article.php

index 2a7d6b4..a2d7b8c 100644 (file)
@@ -1691,6 +1691,7 @@ class Article {
 
                // Invalidate the cache
                $this->mTitle->invalidateCache();
+               $this->clear();
 
                if ( $wgUseSquid ) {
                        // Commit the transaction before the purge is sent