@@ -88,14 +88,14 @@ public function create(): Form
88
88
$ form ->addSelect ('redirectAfterLogin ' , 'admin.configuration.web_redirect_after_login ' , $ redirectAfterLoginOptions )
89
89
->addRule (Form::FILLED , 'admin.configuration.web_redirect_after_login_empty ' );
90
90
91
- $ form ->addText ('ga_id ' , 'admin.configuration.web_ga_id ' );
91
+ // $form->addText('ga_id', 'admin.configuration.web_ga_id');
92
92
93
93
$ form ->addSubmit ('submit ' , 'admin.common.save ' );
94
94
95
95
$ form ->setDefaults ([
96
96
'footer ' => $ this ->queryBus ->handle (new SettingStringValueQuery (Settings::FOOTER )),
97
97
'redirectAfterLogin ' => array_key_exists ($ redirectAfterLoginValue , $ redirectAfterLoginOptions ) ? $ redirectAfterLoginValue : null ,
98
- 'ga_id ' => $ this ->queryBus ->handle (new SettingStringValueQuery (Settings::GA_ID )),
98
+ // 'ga_id' => $this->queryBus->handle(new SettingStringValueQuery(Settings::GA_ID)),
99
99
]);
100
100
101
101
$ form ->onSuccess [] = [$ this , 'processForm ' ];
@@ -122,6 +122,6 @@ public function processForm(Form $form, stdClass $values): void
122
122
123
123
$ this ->commandBus ->handle (new SetSettingStringValue (Settings::FOOTER , $ values ->footer ));
124
124
$ this ->commandBus ->handle (new SetSettingStringValue (Settings::REDIRECT_AFTER_LOGIN , $ values ->redirectAfterLogin ));
125
- $ this ->commandBus ->handle (new SetSettingStringValue (Settings::GA_ID , $ values ->ga_id ));
125
+ // $this->commandBus->handle(new SetSettingStringValue(Settings::GA_ID, $values->ga_id));
126
126
}
127
127
}
0 commit comments