Remove the old form editor

[MAILPOET-2625]
This commit is contained in:
Pavel Dohnal
2020-01-29 13:53:36 +01:00
committed by Jack Kitterhing
parent ec42ef4eeb
commit fe84b9f9fb
23 changed files with 3 additions and 2714 deletions

View File

@ -63,12 +63,6 @@ class FormEditor {
'custom_fields' => $this->customFieldsResponseBuilder->buildBatch($customFields),
];
if (isset($_GET['legacy']) && (int)$_GET['legacy']) {
$data['date_types'] = $dateTypes;
$this->pageRenderer->displayPage('form/editor_legacy.html', $data);
} else {
$this->pageRenderer->displayPage('form/editor.html', $data);
}
$this->pageRenderer->displayPage('form/editor.html', $data);
}
}