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:
fef8446
)
Re-adding ApiMain::requestWriteMode() (removed in r48901) for backwards compatibility...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 20 May 2009 20:07:33 +0000
(20:07 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 20 May 2009 20:07:33 +0000
(20:07 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
92f92aa
..
218f4d2
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-190,6
+190,12
@@
class ApiMain extends ApiBase {
return $this->mResult;
}
+ /**
+ * Only kept for backwards compatibility
+ * @deprecated Use isWriteMode() instead
+ */
+ public function requestWriteMode() {}
+
/**
* Set how long the response should be cached.
*/
@@
-709,4
+715,4
@@
class UsageException extends Exception {
public function __toString() {
return "{$this->getCodeString()}: {$this->getMessage()}";
}
-}
\ No newline at end of file
+}