Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LanguagesManager/Commands/CreatePull.php')
-rw-r--r--plugins/LanguagesManager/Commands/CreatePull.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/LanguagesManager/Commands/CreatePull.php b/plugins/LanguagesManager/Commands/CreatePull.php
index 9348739932..bebfab973b 100644
--- a/plugins/LanguagesManager/Commands/CreatePull.php
+++ b/plugins/LanguagesManager/Commands/CreatePull.php
@@ -152,9 +152,10 @@ class CreatePull extends TranslationBase
$linesSumByLang[$modifiedFile],
$languageInfo['percentage_complete']
);
+ $languageCodesTouched[] = $modifiedFile;
}
}
- $languageCodesTouched = array_merge($languageCodesTouched, $modifiedFiles[1]);
+ $languageCodesTouched = array_unique($languageCodesTouched);
}
$message = implode('', $messages);