Fix bug from r73645: setMsgBlobMtime() requires its timestamp parameter to be a UNIX...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 8 Feb 2011 05:33:17 +0000 (05:33 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 8 Feb 2011 05:33:17 +0000 (05:33 +0000)
includes/resourceloader/ResourceLoader.php

index ba5ae11..91fb1ee 100644 (file)
@@ -95,7 +95,8 @@ class ResourceLoader {
                                ), __METHOD__
                        );
                        foreach ( $res as $row ) {
-                               $this->getModule( $row->mr_resource )->setMsgBlobMtime( $lang, $row->mr_timestamp );
+                               $this->getModule( $row->mr_resource )->setMsgBlobMtime( $lang, 
+                                       wfTimestamp( TS_UNIX, $row->mr_timestamp ) );
                                unset( $modulesWithoutMessages[$row->mr_resource] );
                        }
                }