From 8238e6657b1c7016b9d2614f9a8d4f7c48040d43 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 11 Feb 2010 22:25:31 +0000 Subject: [PATCH] Remove old/deprecated $this->getMain()->isWriteMode(); from ApiUpload --- includes/api/ApiUpload.php | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.20.1