From ecb6baaa89b58fc80e473867f720a18ac7c15c43 Mon Sep 17 00:00:00 2001 From: jygaulier Date: Mon, 15 May 2023 10:16:44 +0200 Subject: [PATCH] remove debug & restore write --- lib/Alchemy/Phrasea/Command/Thesaurus/Translator/Job.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Command/Thesaurus/Translator/Job.php b/lib/Alchemy/Phrasea/Command/Thesaurus/Translator/Job.php index 0c15239079..5722677818 100644 --- a/lib/Alchemy/Phrasea/Command/Thesaurus/Translator/Job.php +++ b/lib/Alchemy/Phrasea/Command/Thesaurus/Translator/Job.php @@ -415,11 +415,11 @@ class Job } } $jsActions = json_encode($actions, JSON_PRETTY_PRINT); - $this->output->writeln(sprintf("JS : %s", $jsActions)); + // $this->output->writeln(sprintf("JS : %s", $jsActions)); if (!$this->globalConfiguration->isDryRun()) { $record = $this->getDatabox()->getRecordRepository()->find($record_id); -// $record->setMetadatasByActions(json_decode($jsActions)); + $record->setMetadatasByActions(json_decode($jsActions)); } }