File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Config/Controller/Adminhtml/System Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,18 @@ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction
28
28
29
29
/**
30
30
* @deprecated
31
- * @var ConfigSectionChecker
32
31
*/
33
32
protected $ _sectionChecker ;
34
33
35
34
/**
36
35
* @param \Magento\Backend\App\Action\Context $context
37
36
* @param \Magento\Config\Model\Config\Structure $configStructure
38
- * @param ConfigSectionChecker $sectionChecker
37
+ * @param $sectionChecker - deprecated
39
38
*/
40
39
public function __construct (
41
40
\Magento \Backend \App \Action \Context $ context ,
42
41
\Magento \Config \Model \Config \Structure $ configStructure ,
43
- ConfigSectionChecker $ sectionChecker
42
+ $ sectionChecker
44
43
) {
45
44
parent ::__construct ($ context );
46
45
$ this ->_configStructure = $ configStructure ;
@@ -60,6 +59,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
60
59
$ request ->setParam ('section ' , $ this ->_configStructure ->getFirstSection ()->getId ());
61
60
} catch (LocalizedException $ e ) {
62
61
/** If visible section not found need to show only config index page without sections if it allow. */
62
+ $ this ->messageManager ->addWarningMessage ($ e ->getMessage ());
63
63
}
64
64
}
65
65
return parent ::dispatch ($ request );
Original file line number Diff line number Diff line change 9
9
use Magento \Framework \Exception \NotFoundException ;
10
10
11
11
/**
12
- * @deprecated Due of not use .
12
+ * @deprecated - unused class .
13
13
* @see \Magento\Config\Model\Config\Structure\Element\Section::isAllowed()
14
14
*/
15
15
class ConfigSectionChecker
You can’t perform that action at this time.
0 commit comments