Index: trunk/phase3/maintenance/deleteArchivedRevisions.inc |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | |
34 | 34 | # Delete as appropriate |
35 | 35 | $output->handleOutput( "Deleting archived revisions... " ); |
36 | | - $dbw->query( "TRUNCATE TABLE $tbl_arch" ); |
| 36 | + $dbw->query( "DELETE FROM $tbl_arch" ); |
37 | 37 | |
38 | 38 | $count = $dbw->affectedRows(); |
39 | 39 | $deletedRows = $count != 0; |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | # Purge redundant text records |
45 | 45 | $dbw->commit(); |
46 | 46 | if( $deletedRows ) { |
47 | | - $output->purgeRedundantText( true ); |
| 47 | + $this->purgeRedundantText( true ); |
48 | 48 | } |
49 | 49 | } |
50 | 50 | } |
\ No newline at end of file |