Skip to content

Commit 1789c35

Browse files
committed
Code Refactoring
1 parent 3d1586e commit 1789c35

File tree

4 files changed

+5
-196
lines changed

4 files changed

+5
-196
lines changed

Block/Adminhtml/System/Config/Form/Composer/Version.php

Lines changed: 0 additions & 122 deletions
This file was deleted.

Block/Adminhtml/System/Config/Form/Module/Version.php

Lines changed: 0 additions & 72 deletions
This file was deleted.

etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</comment>
3737
<field id="MagePal_CheckoutSuccessMiscScript" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
3838
<label>Composer Version</label>
39-
<frontend_model>MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>
39+
<frontend_model>MagePal\Core\Block\Adminhtml\System\Config\Composer\Version</frontend_model>
4040
</field>
4141
<field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
4242
<label>Enable</label>

etc/module.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
44
<module name="MagePal_CheckoutSuccessMiscScript" setup_version="1.1.0">
5+
<sequence>
6+
<module name="MagePal_Core"/>
7+
</sequence>
58
</module>
6-
</config>
9+
</config>

0 commit comments

Comments
 (0)