followup r101490, remove extra tabs after talking to Nikerabbit.
This commit is contained in:
parent
77c7158ecb
commit
e0963b7ecc
1 changed files with 7 additions and 7 deletions
|
|
@ -198,12 +198,12 @@ class LocalisationCache {
|
|||
public function isMergeableKey( $key ) {
|
||||
if ( !isset( $this->mergeableKeys ) ) {
|
||||
$this->mergeableKeys = array_flip( array_merge(
|
||||
self::$mergeableMapKeys,
|
||||
self::$mergeableListKeys,
|
||||
self::$mergeableAliasListKeys,
|
||||
self::$optionalMergeKeys,
|
||||
self::$magicWordKeys
|
||||
) );
|
||||
self::$mergeableMapKeys,
|
||||
self::$mergeableListKeys,
|
||||
self::$mergeableAliasListKeys,
|
||||
self::$optionalMergeKeys,
|
||||
self::$magicWordKeys
|
||||
) );
|
||||
}
|
||||
return isset( $this->mergeableKeys[$key] );
|
||||
}
|
||||
|
|
@ -515,7 +515,7 @@ class LocalisationCache {
|
|||
$oldSynonyms = array_slice( $fallbackInfo, 1 );
|
||||
$newSynonyms = array_slice( $value[$magicName], 1 );
|
||||
$synonyms = array_values( array_unique( array_merge(
|
||||
$newSynonyms, $oldSynonyms ) ) );
|
||||
$newSynonyms, $oldSynonyms ) ) );
|
||||
$value[$magicName] = array_merge( array( $fallbackInfo[0] ), $synonyms );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue