X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=blobdiff_plain;f=thumb.php;h=3b714135bc34cae2bd7ce11058d61feaa3328ca7;hb=db063e4a0ec49933b09328d10a2c8052fbcf9501;hp=c4b40dc76fa12888d2f9414a7a02b0e9b4265d12;hpb=d4b9fa38132654f221667f840521757612b30681;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index c4b40dc76f..3b714135bc 100644 --- a/thumb.php +++ b/thumb.php @@ -235,9 +235,9 @@ function wfStreamThumb( array $params ) { // Fix IE brokenness $imsString = preg_replace( '/;.*$/', '', $_SERVER["HTTP_IF_MODIFIED_SINCE"] ); // Calculate time - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $imsUnix = strtotime( $imsString ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( wfTimestamp( TS_UNIX, $img->getTimestamp() ) <= $imsUnix ) { HttpStatus::header( 304 ); return;