summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/l10n_client.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-19 13:55:22 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-19 13:55:22 -0700
commitb3f91167c14e98bbb35f62d7003efb0a82f142eb (patch)
tree8b94948a31dd865121a62cff65a8c1a502a08c1e /modules/gallery/helpers/l10n_client.php
parentbad6d215846cb115c88be0dae0039e89318b21b1 (diff)
Remove excess success logging. In the rebuild images case, it can
make a huge log file. In the l10n_client case, it's not really necessary to know that level of detail and it makes for a weird API.
Diffstat (limited to 'modules/gallery/helpers/l10n_client.php')
-rw-r--r--modules/gallery/helpers/l10n_client.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gallery/helpers/l10n_client.php b/modules/gallery/helpers/l10n_client.php
index b576b4e1..3460cc65 100644
--- a/modules/gallery/helpers/l10n_client.php
+++ b/modules/gallery/helpers/l10n_client.php
@@ -113,10 +113,6 @@ class l10n_client_Core {
// [{key:<key_1>, translation: <JSON encoded translation>, rev:<rev>, locale:<locale>},
// {key:<key_2>, ...}
// ]
- $count = count($response);
- $message[] = t2("Installed 1 new / updated translation message",
- "Installed %count new / updated translation messages", $count);
-
foreach ($response as $message_data) {
// @todo Better input validation
if (empty($message_data->key) || empty($message_data->translation) ||
@@ -153,7 +149,6 @@ class l10n_client_Core {
$entry->translation = $translation;
$entry->save();
}
- return $message;
}
static function submit_translations() {