Index: trunk/phase3/includes/LocalisationCache.php |
— | — | @@ -510,8 +510,9 @@ |
511 | 511 | $data = $this->readPHPFile( $fileName, 'extension' ); |
512 | 512 | $used = false; |
513 | 513 | foreach ( $data as $key => $item ) { |
514 | | - $used = $used | |
515 | | - $this->mergeExtensionItem( $codeSequence, $key, $allData[$key], $item ); |
| 514 | + if( $this->mergeExtensionItem( $codeSequence, $key, $allData[$key], $item ) ) { |
| 515 | + $used = true; |
| 516 | + } |
516 | 517 | } |
517 | 518 | if ( $used ) { |
518 | 519 | $deps[] = new FileDependency( $fileName ); |