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
mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page load
[lhc/web/wiklou.git]
/
maintenance
/
nukePage.php
diff --git
a/maintenance/nukePage.php
b/maintenance/nukePage.php
index
44235d5
..
de037dc
100644
(file)
--- a/
maintenance/nukePage.php
+++ b/
maintenance/nukePage.php
@@
-62,7
+62,7
@@
class NukePage extends Maintenance {
# Get corresponding revisions
$this->output( "Searching for revisions..." );
$res = $dbw->query( "SELECT rev_id FROM $tbl_rev WHERE rev_page = $id" );
- $revs =
array()
;
+ $revs =
[]
;
foreach ( $res as $row ) {
$revs[] = $row->rev_id;
}