From: Sam Reed Date: Thu, 22 Jul 2010 21:52:06 +0000 (+0000) Subject: LIMIT_SML2, LIMIT_BIG2 are in ApiBase, not ApiMain X-Git-Tag: 1.31.0-rc.0~36004 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=cb83bfa579768ef954f2822e83926d872ecc8490;p=lhc%2Fweb%2Fwiklou.git LIMIT_SML2, LIMIT_BIG2 are in ApiBase, not ApiMain --- diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index f3c3e4e9e6..7c51ca6593 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -270,7 +270,9 @@ class ApiUpload extends ApiBase { $this->verifyUpload(); $warnings = $this->checkForWarnings(); - if ( isset( $warnings ) ) return $warnings; + if ( isset( $warnings ) ) { + return $warnings; + } // Use comment as initial page text by default if ( is_null( $this->mParams['text'] ) ) {