Index: trunk/phase3/maintenance/deleteOldRevisions.php |
— | — | @@ -66,6 +66,7 @@ |
67 | 67 | $this->output( "done.\n" ); |
68 | 68 | |
69 | 69 | # Get all revisions that aren't in this set |
| 70 | + $old = array(); |
70 | 71 | $this->output( "Searching for inactive revisions..." ); |
71 | 72 | $set = implode( ', ', $cur ); |
72 | 73 | $res = $dbw->query( "SELECT rev_id FROM $tbl_rev WHERE rev_id NOT IN ( $set ){$revPageClause}" ); |