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
(bug 38190) Add "required" flag to some token params
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiRollback.php
diff --git
a/includes/api/ApiRollback.php
b/includes/api/ApiRollback.php
index
dddbb85
..
677df16
100644
(file)
--- a/
includes/api/ApiRollback.php
+++ b/
includes/api/ApiRollback.php
@@
-90,7
+90,10
@@
class ApiRollback extends ApiBase {
ApiBase::PARAM_TYPE => 'string',
ApiBase::PARAM_REQUIRED => true
),
- 'token' => null,
+ 'token' => array(
+ ApiBase::PARAM_TYPE => 'string',
+ ApiBase::PARAM_REQUIRED => true
+ ),
'summary' => '',
'markbot' => false,
'watchlist' => array(