r62949 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62948‎ | r62949 | r62950 >
Date:09:15, 25 February 2010
Author:mah
Status:ok
Tags:
Comment:
Fix search-and-replace error
Modified paths:
  • /trunk/phase3/maintenance/deleteArchivedRevisions.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/deleteArchivedRevisions.inc
@@ -32,7 +32,7 @@
3333
3434 # Delete as appropriate
3535 $output->handleOutput( "Deleting archived revisions... " );
36 - $dbw->query( "TRUNCATE TABLE $tbl_arch" );
 36+ $dbw->query( "DELETE FROM $tbl_arch" );
3737
3838 $count = $dbw->affectedRows();
3939 $deletedRows = $count != 0;
@@ -43,7 +43,7 @@
4444 # Purge redundant text records
4545 $dbw->commit();
4646 if( $deletedRows ) {
47 - $output->purgeRedundantText( true );
 47+ $this->purgeRedundantText( true );
4848 }
4949 }
5050 }
\ No newline at end of file

Status & tagging log