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:
88d789e
)
Fix syntax error reported by Jidanni
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 6 Jun 2009 23:01:08 +0000
(23:01 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 6 Jun 2009 23:01:08 +0000
(23:01 +0000)
includes/api/ApiDelete.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiDelete.php
b/includes/api/ApiDelete.php
index
1984083
..
f89dc55
100644
(file)
--- a/
includes/api/ApiDelete.php
+++ b/
includes/api/ApiDelete.php
@@
-120,7
+120,7
@@
class ApiDelete extends ApiBase {
global $wgUser;
if($article->isBigDeletion() && !$wgUser->isAllowed('bigdelete')) {
global $wgDeleteRevisionsLimit;
- return array(array('delete-toobig', $wgDeleteRevisionsLimit))
)
;
+ return array(array('delete-toobig', $wgDeleteRevisionsLimit));
}
$title = $article->getTitle();
$errors = self::getPermissionsError($title, $token);