From 4da25f6614aed25969ed41da6a1e09204a79a6df Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 8 Jul 2010 19:30:21 +0000 Subject: [PATCH] requestWriteMode() is deprecated and unused --- includes/api/ApiMain.php | 13 ------------- 1 file changed, 13 deletions(-) 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. */ -- 2.20.1