From 1fccf7ae250120d27f79e0c7537a4040d63aa041 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 4 Oct 2011 18:40:13 +0000 Subject: [PATCH] Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data --- includes/WikiPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1