From 75e8383ce16fdcfabd934936cba45d961aa74d40 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 27 Sep 2004 06:20:57 +0000 Subject: [PATCH] Shut up notices --- maintenance/compressOld.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } ?> -- 2.20.1