includes/HistoryBlob.php 1 location
|
@@ 274-280 (lines=7) @@
|
271 |
|
return false; |
272 |
|
} |
273 |
|
|
274 |
|
if ( in_array( 'gzip', $flags ) ) { |
275 |
|
// This shouldn't happen, but a bug in the compress script |
276 |
|
// may at times gzip-compress a HistoryBlob object row. |
277 |
|
$obj = unserialize( gzinflate( $row->old_text ) ); |
278 |
|
} else { |
279 |
|
$obj = unserialize( $row->old_text ); |
280 |
|
} |
281 |
|
|
282 |
|
if ( !is_object( $obj ) ) { |
283 |
|
// Correct for old double-serialization bug. |
maintenance/storage/fixBug20757.php 1 location
|
@@ 326-330 (lines=5) @@
|
323 |
|
return false; |
324 |
|
} |
325 |
|
|
326 |
|
if ( in_array( 'gzip', $flags ) ) { |
327 |
|
$obj = unserialize( gzinflate( $text ) ); |
328 |
|
} else { |
329 |
|
$obj = unserialize( $text ); |
330 |
|
} |
331 |
|
|
332 |
|
if ( !is_object( $obj ) ) { |
333 |
|
// Correct for old double-serialization bug. |