From: Brion Vibber Date: Mon, 27 Sep 2004 06:20:57 +0000 (+0000) Subject: Shut up notices X-Git-Tag: 1.5.0alpha1~1751 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=75e8383ce16fdcfabd934936cba45d961aa74d40;p=lhc%2Fweb%2Fwiklou.git Shut up notices --- diff --git a/maintenance/compressOld.inc b/maintenance/compressOld.inc index a438bfa14e..9f1700d525 100644 --- a/maintenance/compressOld.inc +++ b/maintenance/compressOld.inc @@ -32,6 +32,7 @@ function compressOldPages( $start = 0 ) { } function compressPage( $row ) { + $fname = 'compressPage'; if( false !== strpos( $row->old_flags, "gzip" ) ) { print "Already compressed row {$row->old_id}?\n"; return false; @@ -47,7 +48,7 @@ function compressPage( $row ) { 'old_id' => $row->old_id ), $fname, 'LIMIT 1' ); - return $res; + return true; } ?>