From: Alexandre Emsenhuber Date: Fri, 13 May 2011 08:43:42 +0000 (+0000) Subject: Article::updateArticle() doesn't exist anymore X-Git-Tag: 1.31.0-rc.0~30264 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=4d6fa1e22fe7b9b6e872be0864c78417e2f5fa27;p=lhc%2Fweb%2Fwiklou.git Article::updateArticle() doesn't exist anymore --- 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 ) ); }