diff --git a/src/lib/Form/Processor/ContentFormProcessor.php b/src/lib/Form/Processor/ContentFormProcessor.php index 3f386e21..28e54223 100644 --- a/src/lib/Form/Processor/ContentFormProcessor.php +++ b/src/lib/Form/Processor/ContentFormProcessor.php @@ -125,7 +125,6 @@ public function processSaveDraftAndClose(FormActionEvent $event) $languageCode = $formConfig->getOption('languageCode'); $draft = $this->saveDraft($data, $languageCode, []); $referrerLocation = $event->getOption('referrerLocation'); -// $contentLocation = $this->resolveLocation($draft, $referrerLocation, $data); $event->setPayload('content', $draft); $event->setPayload('is_new', $draft->contentInfo->isDraft());