Index: branches/wmf/1.17wmf1/includes/MessageBlobStore.php |
— | — | @@ -343,7 +343,7 @@ |
344 | 344 | } |
345 | 345 | // Update the module's blobs if the set of messages changed or if the blob is |
346 | 346 | // older than $wgCacheEpoch |
347 | | - if ( array_keys( FormatJson::decode( $row->mr_blob, true ) ) !== $module->getMessages() || |
| 347 | + if ( array_keys( FormatJson::decode( $row->mr_blob, true ) ) !== array_values( array_unique( $module->getMessages() ) ) || |
348 | 348 | wfTimestamp( TS_MW, $row->mr_timestamp ) <= $wgCacheEpoch ) { |
349 | 349 | $retval[$row->mr_resource] = self::updateModule( $row->mr_resource, $module, $lang ); |
350 | 350 | } else { |
Property changes on: branches/wmf/1.17wmf1/includes/MessageBlobStore.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
351 | 351 | Merged /trunk/phase3/includes/MessageBlobStore.php:r89001 |