File tree 6 files changed +7
-7
lines changed
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ abstract class Action extends \Magento\Backend\App\Action
46
46
/**
47
47
* @var \Magento\Backend\Model\View\Result\RedirectFactory
48
48
*/
49
- protected $ _resultRedirectFactory ;
49
+ protected $ resultRedirectFactory ;
50
50
51
51
/**
52
52
* Registry object.
@@ -103,7 +103,7 @@ public function __construct(
103
103
$ this ->_resultPageFactory = $ resultPageFactory ;
104
104
$ this ->_resultLayoutFactory = $ resultLayoutFactory ;
105
105
$ this ->_resultForwardFactory = $ resultForwardFactory ;
106
- $ this ->_resultRedirectFactory = $ context ->getResultRedirectFactory ();
106
+ $ this ->resultRedirectFactory = $ context ->getResultRedirectFactory ();
107
107
$ this ->_themeFactory = $ themeFactory ;
108
108
$ this ->_themeCollectionFactory = $ themeCollectionFactory ;
109
109
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function execute()
52
52
$ this ->messageManager ->addError ($ e ->getMessage ());
53
53
}
54
54
55
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
55
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
56
56
57
57
return $ resultRedirect ->setPath ('*/*/ ' );
58
58
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function execute()
24
24
$ model ->setStoreViewId ($ storeViewId )->load ($ id );
25
25
if (!$ model ->getId ()) {
26
26
$ this ->messageManager ->addError (__ ('This Theme no longer exists. ' ));
27
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
27
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
28
28
29
29
return $ resultRedirect ->setPath ('*/*/ ' );
30
30
} else {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function execute()
33
33
$ this ->messageManager ->addError ($ e ->getMessage ());
34
34
}
35
35
}
36
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
36
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
37
37
38
38
return $ resultRedirect ->setPath ('*/*/ ' );
39
39
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function execute()
39
39
$ this ->messageManager ->addError ($ e ->getMessage ());
40
40
}
41
41
}
42
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
42
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
43
43
44
44
return $ resultRedirect ->setPath ('*/*/ ' , ['store ' => $ this ->getRequest ()->getParam ('store ' )]);
45
45
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Save extends \Magepow\Theme\Controller\Adminhtml\Action
25
25
*/
26
26
public function execute ()
27
27
{
28
- $ resultRedirect = $ this ->_resultRedirectFactory ->create ();
28
+ $ resultRedirect = $ this ->resultRedirectFactory ->create ();
29
29
30
30
if ($ data = $ this ->getRequest ()->getPostValue ()) {
31
31
$ id = $ this ->getRequest ()->getParam ('theme_id ' );
You can’t perform that action at this time.
0 commit comments