From: Aaron Schulz Date: Tue, 4 Oct 2011 18:40:13 +0000 (+0000) Subject: Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data X-Git-Tag: 1.31.0-rc.0~27273 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=1fccf7ae250120d27f79e0c7537a4040d63aa041;p=lhc%2Fweb%2Fwiklou.git Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index db724bc368..69f01b48b3 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -1061,7 +1061,7 @@ class WikiPage extends Page { $status = Status::newGood( array() ); # Load $this->mTitle->getArticleID() and $this->mLatest if it's not already - $this->loadPageData(); + $this->loadPageData( 'fromdbmaster' ); $flags = $this->checkFlags( $flags );