From 4d6fa1e22fe7b9b6e872be0864c78417e2f5fa27 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 13 May 2011 08:43:42 +0000 Subject: [PATCH] Article::updateArticle() doesn't exist anymore --- includes/api/ApiEditPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index b9140b5c18..33b86afd5a 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -358,9 +358,9 @@ class ApiEditPage extends ApiBase { // or DB weirdness occurred. Fall through to throw an unknown // error. - // This needs fixing higher up, as Article::doEdit should be - // used rather than Article::updateArticle, so that specific - // error conditions can be returned + // This needs fixing higher up, as EditPage::internalAttemptSave + // should return the Status object, so that specific error + // conditions can be returned default: $this->dieUsageMsg( array( 'unknownerror', $retval ) ); } -- 2.20.1