* (Bug 25451) Language::time() and ::date() misfunction when given timestamps in...
[lhc/web/wiklou.git] / maintenance / populateLogSearch.php
index 3741692..4b985b5 100644 (file)
@@ -56,7 +56,6 @@ class PopulateLogSearch extends Maintenance {
                        $this->output( "...doing log_id from $blockStart to $blockEnd\n" );
                        $cond = "log_id BETWEEN $blockStart AND $blockEnd";
                        $res = $db->select( 'logging', '*', $cond, __FUNCTION__ );
-                       $batch = array();
                        foreach ( $res as $row ) {
                                // RevisionDelete logs - revisions
                                if ( LogEventsList::typeAction( $row, $delTypes, 'revision' ) ) {