Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -208,19 +208,6 @@ |
209 | 209 | } |
210 | 210 | |
211 | 211 | /** |
212 | | - * Only kept for backwards compatibility |
213 | | - * @deprecated Use isWriteMode() instead |
214 | | - */ |
215 | | - public function requestWriteMode() { |
216 | | - if ( !$this->mEnableWrite ) { |
217 | | - $this->dieUsageMsg( array( 'writedisabled' ) ); |
218 | | - } |
219 | | - if ( wfReadOnly() ) { |
220 | | - $this->dieUsageMsg( array( 'readonlytext' ) ); |
221 | | - } |
222 | | - } |
223 | | - |
224 | | - /** |
225 | 212 | * Set how long the response should be cached. |
226 | 213 | */ |
227 | 214 | public function setCacheMaxAge( $maxage ) { |