File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ public function apply()
7373 $ this ->moduleDataSetup ->startSetup ();
7474
7575 $ connection = $ this ->moduleDataSetup ->getConnection ();
76+ $ tableName = $ this ->moduleDataSetup ->getTable ('core_config_data ' );
77+
7678 $ query = $ connection ->select ()
77- ->from ($ this -> moduleDataSetup -> getTable ( ' core_config_data ' ) , ['config_id ' ,'value ' ])
79+ ->from ($ tableName , ['config_id ' ,'value ' ])
7880 ->where (
7981 'path = ? ' ,
8082 Config::XML_PATH_LAZY_BLOCKS
@@ -83,7 +85,6 @@ public function apply()
8385
8486 $ result = $ connection ->fetchAll ($ query );
8587
86- $ tableName = $ this ->moduleDataSetup ->getTable ('core_config_data ' );
8788 foreach ($ result as $ scope ) {
8889 if (!isset ($ scope ['config_id ' ]) || !isset ($ scope ['value ' ])) {
8990 continue ;
You can’t perform that action at this time.
0 commit comments