mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
remove debug & restore write
This commit is contained in:
@@ -415,11 +415,11 @@ class Job
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$jsActions = json_encode($actions, JSON_PRETTY_PRINT);
|
$jsActions = json_encode($actions, JSON_PRETTY_PRINT);
|
||||||
$this->output->writeln(sprintf("<info>JS : %s</info>", $jsActions));
|
// $this->output->writeln(sprintf("<info>JS : %s</info>", $jsActions));
|
||||||
|
|
||||||
if (!$this->globalConfiguration->isDryRun()) {
|
if (!$this->globalConfiguration->isDryRun()) {
|
||||||
$record = $this->getDatabox()->getRecordRepository()->find($record_id);
|
$record = $this->getDatabox()->getRecordRepository()->find($record_id);
|
||||||
// $record->setMetadatasByActions(json_decode($jsActions));
|
$record->setMetadatasByActions(json_decode($jsActions));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user