dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6adeea
)
requestWriteMode() is deprecated and unused
author
Max Semenik
<maxsem@users.mediawiki.org>
Thu, 8 Jul 2010 19:30:21 +0000
(19:30 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Thu, 8 Jul 2010 19:30:21 +0000
(19:30 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
f296294
..
d183939
100644
(file)
--- 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.
*/