From: Max Semenik Date: Thu, 8 Jul 2010 19:30:21 +0000 (+0000) Subject: requestWriteMode() is deprecated and unused X-Git-Tag: 1.31.0-rc.0~36199 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=4da25f6614aed25969ed41da6a1e09204a79a6df;p=lhc%2Fweb%2Fwiklou.git requestWriteMode() is deprecated and unused --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index f296294a0a..d183939567 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -207,19 +207,6 @@ class ApiMain extends ApiBase { return $this->mPrinter; } - /** - * Only kept for backwards compatibility - * @deprecated Use isWriteMode() instead - */ - public function requestWriteMode() { - if ( !$this->mEnableWrite ) { - $this->dieUsageMsg( array( 'writedisabled' ) ); - } - if ( wfReadOnly() ) { - $this->dieUsageMsg( array( 'readonlytext' ) ); - } - } - /** * Set how long the response should be cached. */