File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
engine/Shopware/Controllers/Frontend Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,13 @@ class Shopware_Controllers_Frontend_Account extends Enlight_Controller_Action
7171
7272 private CaptchaValidator $ captchaValidator ;
7373
74+ public function __construct (Shopware_Components_Config $ config , CaptchaValidator $ captchaValidator )
75+ {
76+ parent ::__construct ();
77+ $ this ->config = $ config ;
78+ $ this ->captchaValidator = $ captchaValidator ;
79+ }
80+
7481 /**
7582 * @return void
7683 */
@@ -80,13 +87,6 @@ public function init()
8087 $ this ->customerService = Shopware ()->Container ()->get (CustomerServiceInterface::class);
8188 }
8289
83- public function __construct (Shopware_Components_Config $ config , CaptchaValidator $ captchaValidator )
84- {
85- parent ::__construct ();
86- $ this ->config = $ config ;
87- $ this ->captchaValidator = $ captchaValidator ;
88- }
89-
9090 public function preDispatch ()
9191 {
9292 $ this ->View ()->setScope (Smarty::SCOPE_PARENT );
You can’t perform that action at this time.
0 commit comments