Skip to content

Commit 2caec84

Browse files
committed
Fix syntax error
1 parent 133f6b8 commit 2caec84

File tree

6 files changed

+9
-210
lines changed

6 files changed

+9
-210
lines changed

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

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

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

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

Block/Adminhtml/System/Config/Source/Strategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function toOptionArray() : array
2929
{
3030
$options = [];
3131
foreach ($this->strategies as $key => $label) {
32-
$options[] = ['value' => $key, 'label' => $label];
32+
$options[] = ['value' => $key, 'label' => __($label)];
3333
}
3434
return $options;
3535
}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"admin reindex"
1010
],
1111
"require": {
12-
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0",
12+
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0",
1313
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*|102.0.*",
1414
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*|103.0.*",
15-
"magepal/magento2-core":">1.1.0"
15+
"magepal/magento2-core":">1.1.8"
1616
},
1717
"type": "magento2-module",
18-
"version": "1.0.11",
18+
"version": "1.1.0",
1919
"license": [
2020
"proprietary"
2121
],

etc/adminhtml/system.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<label>About MagePal Reindex</label>
2121
<comment><![CDATA[
2222
<div id="magepal-info">
23-
Copyright © 2019 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=reindex&utm_medium=admin" target="_blank">MagePal, LLC</a>
23+
Copyright © 2021 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=reindex&utm_medium=admin" target="_blank">MagePal, LLC</a>
2424
<a href="https://www.magepal.com/help/docs/how-to-reindex-magento-2/?utm_source=reindex&utm_medium=admin#documentation" target="_blank">Documentation</a>
2525
<a href="https://www.magepal.com/help/docs/how-to-reindex-magento-2/?utm_source=reindex&utm_medium=admin#support">Support</a>
2626
<a href="https://www.magepal.com/help/docs/how-to-reindex-magento-2?utm_source=reindex&utm_medium=admin#current_version" target="_blank">Latest Version</a>
@@ -46,13 +46,9 @@
4646
padding-bottom: 5px;
4747
}
4848
</style>]]></comment>
49-
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
50-
<label>Module Version</label>
51-
<frontend_model>MagePal\Reindex\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>
52-
</field>
53-
<field id="composer_version" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
49+
<field id="MagePal_Reindex" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
5450
<label>Composer Version</label>
55-
<frontend_model>MagePal\Reindex\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>
51+
<frontend_model>MagePal\Core\Block\Adminhtml\System\Config\Composer\Version</frontend_model>
5652
</field>
5753
<field id="link" translate="label" type="label" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0">
5854
<label>Configuration</label>

etc/module.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<module name="MagePal_Reindex" setup_version="1.0.0">
1111
<sequence>
1212
<module name="Magento_Indexer"/>
13+
<module name="MagePal_Core"/>
1314
</sequence>
1415
</module>
15-
</config>
16+
</config>

0 commit comments

Comments
 (0)