X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FnukePage.php;h=de037dc1c9472d171397c7127dee5428e7d786af;hb=29cac40c821856b0eb6c47d2f396b599347653c3;hp=44235d5f07a24fbf83a745d921d0205399261154;hpb=e57998f5330e8a0c9636c9075ae5fb8e3b72f913;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/nukePage.php b/maintenance/nukePage.php index 44235d5f07..de037dc1c9 100644 --- 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; }