File tree 11 files changed +12
-12
lines changed
11 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ abstract class Action extends \Magento\Backend\App\Action
41
41
/**
42
42
* @var \Magento\Backend\Model\View\Result\RedirectFactory
43
43
*/
44
- protected $ _resultRedirectFactory ;
44
+ protected $ resultRedirectFactory ;
45
45
46
46
protected $ _magicmenuFactory ;
47
47
@@ -79,7 +79,7 @@ public function __construct(
79
79
$ this ->_resultPageFactory = $ resultPageFactory ;
80
80
$ this ->_resultLayoutFactory = $ resultLayoutFactory ;
81
81
$ this ->_resultForwardFactory = $ resultForwardFactory ;
82
- $ this ->_resultRedirectFactory = $ context ->getResultRedirectFactory ();
82
+ $ this ->resultRedirectFactory = $ context ->getResultRedirectFactory ();
83
83
84
84
$ this ->_magicmenuFactory = $ magicmenuFactory ;
85
85
$ this ->_magicmenuCollectionFactory = $ magicmenuCollectionFactory ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function execute()
27
27
$ this ->messageManager ->addError ($ e ->getMessage ());
28
28
}
29
29
30
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
30
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
31
31
32
32
return $ resultRedirect ->setPath ('*/*/ ' );
33
33
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function execute()
27
27
$ model ->setStoreViewId ($ storeViewId )->load ($ id );
28
28
if (!$ model ->getId ()) {
29
29
$ this ->messageManager ->addError (__ ('This Extra Menu no longer exists. ' ));
30
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
30
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
31
31
32
32
return $ resultRedirect ->setPath ('*/*/ ' );
33
33
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function execute()
36
36
$ this ->messageManager ->addError ($ e ->getMessage ());
37
37
}
38
38
}
39
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
39
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
40
40
41
41
return $ resultRedirect ->setPath ('*/*/ ' );
42
42
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function execute()
42
42
$ this ->messageManager ->addError ($ e ->getMessage ());
43
43
}
44
44
}
45
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
45
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
46
46
47
47
return $ resultRedirect ->setPath ('*/*/ ' , ['store ' => $ this ->getRequest ()->getParam ('store ' )]);
48
48
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Save extends \Magiccart\Magicmenu\Controller\Adminhtml\Action
21
21
*/
22
22
public function execute ()
23
23
{
24
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
24
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
25
25
26
26
if ($ data = $ this ->getRequest ()->getPostValue ()) {
27
27
$ model = $ this ->_magicmenuFactory ->create ();
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function execute()
27
27
$ this ->messageManager ->addError ($ e ->getMessage ());
28
28
}
29
29
30
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
30
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
31
31
32
32
return $ resultRedirect ->setPath ('*/*/ ' );
33
33
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function execute()
27
27
$ model ->setStoreViewId ($ storeViewId )->load ($ id );
28
28
if (!$ model ->getId ()) {
29
29
$ this ->messageManager ->addError (__ ('This Menu no longer exists. ' ));
30
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
30
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
31
31
32
32
return $ resultRedirect ->setPath ('*/*/ ' );
33
33
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function execute()
36
36
$ this ->messageManager ->addError ($ e ->getMessage ());
37
37
}
38
38
}
39
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
39
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
40
40
41
41
return $ resultRedirect ->setPath ('*/*/ ' );
42
42
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function execute()
42
42
$ this ->messageManager ->addError ($ e ->getMessage ());
43
43
}
44
44
}
45
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
45
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
46
46
47
47
return $ resultRedirect ->setPath ('*/*/ ' , ['store ' => $ this ->getRequest ()->getParam ('store ' )]);
48
48
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Save extends \Magiccart\Magicmenu\Controller\Adminhtml\Action
21
21
*/
22
22
public function execute ()
23
23
{
24
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
24
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
25
25
26
26
if ($ data = $ this ->getRequest ()->getPostValue ()) {
27
27
$ model = $ this ->_magicmenuFactory ->create ();
You can’t perform that action at this time.
0 commit comments