Index: branches/wmf/1.17wmf1/includes/HistoryBlob.php |
— | — | @@ -453,7 +453,7 @@ |
454 | 454 | $header = unpack( 'Vofp/Vcsize', substr( $diff, 0, 8 ) ); |
455 | 455 | |
456 | 456 | # Check the checksum if mhash is available |
457 | | - if ( extension_loaded( 'mhash' ) ) { |
| 457 | + if ( function_exists( 'mhash' ) ) { |
458 | 458 | $ofp = mhash( MHASH_ADLER32, $base ); |
459 | 459 | if ( $ofp !== substr( $diff, 0, 4 ) ) { |
460 | 460 | wfDebug( __METHOD__. ": incorrect base checksum\n" ); |