From: Sam Reed Date: Thu, 11 Feb 2010 22:25:31 +0000 (+0000) Subject: Remove old/deprecated $this->getMain()->isWriteMode(); from ApiUpload X-Git-Tag: 1.31.0-rc.0~37808 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=8238e6657b1c7016b9d2614f9a8d4f7c48040d43;p=lhc%2Fweb%2Fwiklou.git Remove old/deprecated $this->getMain()->isWriteMode(); from ApiUpload --- diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index b426262e53..b83c7c7107 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -44,7 +44,6 @@ class ApiUpload extends ApiBase { if ( !UploadBase::isEnabled() ) $this->dieUsageMsg( array( 'uploaddisabled' ) ); - $this->getMain()->isWriteMode(); $this->mParams = $this->extractRequestParams(); $request = $this->getMain()->getRequest();