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:
4d1f80d
)
API: Fixing r42583: true isn't even allowed as a default value
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 26 Oct 2008 10:47:13 +0000
(10:47 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 26 Oct 2008 10:47:13 +0000
(10:47 +0000)
includes/api/ApiBlock.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBlock.php
b/includes/api/ApiBlock.php
index
9cdf8ea
..
4070fec
100644
(file)
--- a/
includes/api/ApiBlock.php
+++ b/
includes/api/ApiBlock.php
@@
-115,7
+115,6
@@
class ApiBlock extends ApiBase {
public function mustBePosted() { return true; }
public function getAllowedParams() {
- global $wgBlockAllowsUTEdit;
return array (
'user' => null,
'token' => null,
@@
-127,7
+126,7
@@
class ApiBlock extends ApiBase {
'autoblock' => false,
'noemail' => false,
'hidename' => false,
- 'allowusertalk' =>
(bool)$wgBlockAllowsUTEdit
,
+ 'allowusertalk' =>
false
,
);
}