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
API: Avoid unstubbing User for language pref when not needed
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryDisabled.php
diff --git
a/includes/api/ApiQueryDisabled.php
b/includes/api/ApiQueryDisabled.php
index
cf0d841
..
a6509d4
100644
(file)
--- a/
includes/api/ApiQueryDisabled.php
+++ b/
includes/api/ApiQueryDisabled.php
@@
-44,17
+44,7
@@
class ApiQueryDisabled extends ApiQueryBase {
return array();
}
return array();
}
- public function getParamDescription() {
- return array();
- }
-
- public function getDescription() {
- return array(
- 'This module has been disabled.'
- );
- }
-
- public function getExamples() {
- return array();
+ public function getDescriptionMessage() {
+ return 'apihelp-query+disabled-description';
}
}
}
}