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
Use LogPage::validTypes() instead of $wgLogTypes in a few places
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryLogEvents.php
diff --git
a/includes/api/ApiQueryLogEvents.php
b/includes/api/ApiQueryLogEvents.php
index
8fd1ed5
..
a6b97dd
100644
(file)
--- a/
includes/api/ApiQueryLogEvents.php
+++ b/
includes/api/ApiQueryLogEvents.php
@@
-418,7
+418,7
@@
class ApiQueryLogEvents extends ApiQueryBase {
ApiBase::PARAM_HELP_MSG_PER_VALUE => [],
],
'type' => [
- ApiBase::PARAM_TYPE =>
$config->get( 'LogTypes' )
+ ApiBase::PARAM_TYPE =>
LogPage::validTypes(),
],
'action' => [
// validation on request is done in execute()