From 19c4c7a2eb91179d8ce968f72f00a1ee65b338d4 Mon Sep 17 00:00:00 2001 From: tischsoic Date: Sat, 19 Aug 2023 16:48:15 +0200 Subject: [PATCH] delete unnecessary comment --- src/lib/Form/Processor/ContentFormProcessor.php | 1 - 1 file changed, 1 deletion(-) 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());