Skip to content

Commit 3c6d6d7

Browse files
committed
Support old version
1 parent 9dfbcc9 commit 3c6d6d7

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

Model/Config/Heading.php

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

etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<field id="heading" translate="label comment" type="text" sortOrder="7" showInDefault="1" showInWebsite="1" showInStore="1">
3333
<label>Categories Heading</label>
3434
<comment>Categories heading text.</comment>
35-
<backend_model>Magepow\Categories\Model\Config\Heading</backend_model>
35+
<validate>validate-no-html-tags</validate>
3636
</field>
3737
<field id="description" translate="label comment" type="select" sortOrder="11" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
3838
<label>Show Description</label>
@@ -72,7 +72,7 @@
7272
<field id="heading" translate="label comment" type="text" sortOrder="7" showInDefault="1" showInWebsite="1" showInStore="1">
7373
<label>Categories Heading</label>
7474
<comment>Categories heading text.</comment>
75-
<backend_model>Magepow\Categories\Model\Config\Heading</backend_model>
75+
<validate>validate-no-html-tags</validate>
7676
</field>
7777
<field id="description" translate="label comment" type="select" sortOrder="8" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
7878
<label>Show Description</label>

0 commit comments

Comments
 (0)