summaryrefslogtreecommitdiff
path: root/maintenance/deleteOldRevisions.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/deleteOldRevisions.php')
-rw-r--r--maintenance/deleteOldRevisions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/maintenance/deleteOldRevisions.php b/maintenance/deleteOldRevisions.php
index ba76e9e9..2cb347fc 100644
--- a/maintenance/deleteOldRevisions.php
+++ b/maintenance/deleteOldRevisions.php
@@ -60,6 +60,7 @@ class DeleteOldRevisions extends Maintenance {
# Get "active" revisions from the page table
$this->output( "Searching for active revisions..." );
$res = $dbw->query( "SELECT page_latest FROM $tbl_pag{$pageIdClause}" );
+ $cur = array();
foreach ( $res as $row ) {
$cur[] = $row->page_latest;
}