diff options
-rw-r--r-- | lib/private/TaskProcessing/Manager.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php index 1158c4a8519..c5ddbb31dc3 100644 --- a/lib/private/TaskProcessing/Manager.php +++ b/lib/private/TaskProcessing/Manager.php @@ -687,12 +687,7 @@ class Manager implements IManager { if (!$isUsingFileIds) { $output = $this->encapsulateOutputFileData($output, $outputShape, $optionalOutputShape); } else { - $output = $this->validateOutputFileIds($output, $outputShape, $optionalOutputShape); - } - foreach ($output as $key => $value) { - if ($value instanceof Node) { - $output[$key] = $value->getId(); - } + $this->validateOutputFileIds($output, $outputShape, $optionalOutputShape); } $task->setOutput($output); $task->setProgress(1); |