Fixes for r81936 per Tim's review

This commit is contained in:
Roan Kattouw 2011-02-11 08:29:55 +00:00
parent 370d700dd6
commit c38e2e499c

View file

@ -244,8 +244,8 @@ abstract class ResourceLoaderModule {
); );
// If no blob was found, but the module does have messages, that means we need // If no blob was found, but the module does have messages, that means we need
// to regenerate it. Return NOW // to regenerate it. Return NOW
if ( !$msgBlobMtime ) { if ( $msgBlobMtime === false ) {
$msgBlobMtime = wfTimestamp( TS_UNIX ); $msgBlobMtime = wfTimestampNow();
} }
$this->msgBlobMtime[$lang] = wfTimestamp( TS_UNIX, $msgBlobMtime ); $this->msgBlobMtime[$lang] = wfTimestamp( TS_UNIX, $msgBlobMtime );
} }