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
// to regenerate it. Return NOW
if ( !$msgBlobMtime ) {
$msgBlobMtime = wfTimestamp( TS_UNIX );
if ( $msgBlobMtime === false ) {
$msgBlobMtime = wfTimestampNow();
}
$this->msgBlobMtime[$lang] = wfTimestamp( TS_UNIX, $msgBlobMtime );
}