summaryrefslogtreecommitdiffstats
path: root/core/Command/L10n
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-13 21:48:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-13 21:48:24 +0100
commit954da26e26a6f0011efa1432e9de4264e5f5e033 (patch)
tree4ec1aecaaf672bd8fc362f59261abbf1a1ea7bcf /core/Command/L10n
parent3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff)
downloadnextcloud-server-954da26e26a6f0011efa1432e9de4264e5f5e033.tar.gz
nextcloud-server-954da26e26a6f0011efa1432e9de4264e5f5e033.zip
Use non aliased method instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command/L10n')
-rw-r--r--core/Command/L10n/CreateJs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/L10n/CreateJs.php b/core/Command/L10n/CreateJs.php
index 9c14490b97f..d060f166b85 100644
--- a/core/Command/L10n/CreateJs.php
+++ b/core/Command/L10n/CreateJs.php
@@ -105,11 +105,11 @@ class CreateJs extends Command implements CompletionAwareInterface {
$jsTrans = array();
foreach ($translations as $id => $val) {
if (is_array($val)) {
- $val = '[ ' . join(',', $val) . ']';
+ $val = '[ ' . implode(',', $val) . ']';
}
$jsTrans[] = "\"$id\" : \"$val\"";
}
- $content .= join(",\n ", $jsTrans);
+ $content .= implode(",\n ", $jsTrans);
$content .= "\n},\n\"$plurals\");\n";
file_put_contents($jsFile, $content);