dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b4c2a3c
)
Shut up notices
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 27 Sep 2004 06:20:57 +0000
(06:20 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 27 Sep 2004 06:20:57 +0000
(06:20 +0000)
maintenance/compressOld.inc
patch
|
blob
|
history
diff --git
a/maintenance/compressOld.inc
b/maintenance/compressOld.inc
index
a438bfa
..
9f1700d
100644
(file)
--- a/
maintenance/compressOld.inc
+++ b/
maintenance/compressOld.inc
@@
-32,6
+32,7
@@
function compressOldPages( $start = 0 ) {
}
function compressPage( $row ) {
}
function compressPage( $row ) {
+ $fname = 'compressPage';
if( false !== strpos( $row->old_flags, "gzip" ) ) {
print "Already compressed row {$row->old_id}?\n";
return false;
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'
);
'old_id' => $row->old_id
), $fname, 'LIMIT 1'
);
- return
$res
;
+ return
true
;
}
?>
}
?>