dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor redundant attrib dropping into new method
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiDisabled.php
diff --git
a/includes/api/ApiDisabled.php
b/includes/api/ApiDisabled.php
index
3136384
..
c4cd621
100644
(file)
--- a/
includes/api/ApiDisabled.php
+++ b/
includes/api/ApiDisabled.php
@@
-48,6
+48,10
@@
class ApiDisabled extends ApiBase {
$this->dieUsage("The ``{$this->getModuleName()}'' module has been disabled.", 'moduledisabled');
}
+ public function isReadMode() {
+ return false;
+ }
+
public function getAllowedParams() {
return array ();
}