X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=maintenance%2Fstorage%2FcompressOld.php;h=16c676d2c8e44db8d926fd0db98a2181bc72825e;hb=6f51037d680ce6840e835996da47623a177e3b35;hp=3cb4a2ba963d80b0d588c3d5367980516bf18d26;hpb=b7ec2c9b3353b99fe30e1e202c8625cac2f541f3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/compressOld.php b/maintenance/storage/compressOld.php index 3cb4a2ba96..16c676d2c8 100644 --- a/maintenance/storage/compressOld.php +++ b/maintenance/storage/compressOld.php @@ -189,7 +189,7 @@ class CompressOld extends Maintenance { if ( false !== strpos( $row->old_flags, 'gzip' ) || false !== strpos( $row->old_flags, 'object' ) ) { - #print "Already compressed row {$row->old_id}\n"; + # print "Already compressed row {$row->old_id}\n"; return false; } $dbw = wfGetDB( DB_MASTER ); @@ -303,8 +303,8 @@ class CompressOld extends Maintenance { # Don't work with current revisions # Don't lock the page table for update either -- TS 2006-04-04 - #$tables[] = 'page'; - #$conds[] = 'page_id=rev_page AND rev_id != page_latest'; + # $tables[] = 'page'; + # $conds[] = 'page_id=rev_page AND rev_id != page_latest'; for ( $pageId = $startId; $pageId <= $maxPageId; $pageId++ ) { wfWaitForSlaves(); @@ -384,7 +384,7 @@ class CompressOld extends Maintenance { if ( $text === false ) { $this->error( "\nError, unable to get text in old_id $oldid" ); - #$dbw->delete( 'old', array( 'old_id' => $oldid ) ); + # $dbw->delete( 'old', array( 'old_id' => $oldid ) ); } if ( $extdb == "" && $j == 0 ) {