Remove new form editor feature flag

[MAILPOET-2549]
This commit is contained in:
Rostislav Wolny
2020-01-21 09:54:46 +01:00
committed by Jack Kitterhing
parent 139b3691bf
commit 447e01b0aa
13 changed files with 31 additions and 108 deletions

View File

@ -355,7 +355,7 @@ class Populator {
private function createDefaultForm($defaultSegment) {
if (Form::count() === 0) {
$factory = new DefaultForm(new Styles($this->flagsController));
$factory = new DefaultForm(new Styles());
if (!$defaultSegment) {
$defaultSegment = Segment::where('type', 'default')->orderByAsc('id')->limit(1)->findOne();
}