Skip to content

Commit

Permalink
ENGCOM-4829: [Backport] Fixed Dependency on Backup Settings Configura…
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaschenko authored Apr 26, 2019
2 parents 1e29a6c + 7bb6471 commit 3835ad5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/code/Magento/Backup/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,22 @@
<label>Scheduled Backup Type</label>
<depends>
<field id="enabled">1</field>
<field id="functionality_enabled">1</field>
</depends>
<source_model>Magento\Backup\Model\Config\Source\Type</source_model>
</field>
<field id="time" translate="label" type="time" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Start Time</label>
<depends>
<field id="enabled">1</field>
<field id="functionality_enabled">1</field>
</depends>
</field>
<field id="frequency" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Frequency</label>
<depends>
<field id="enabled">1</field>
<field id="functionality_enabled">1</field>
</depends>
<source_model>Magento\Cron\Model\Config\Source\Frequency</source_model>
<backend_model>Magento\Backup\Model\Config\Backend\Cron</backend_model>
Expand All @@ -48,6 +51,7 @@
<comment>Please put your store into maintenance mode during backup.</comment>
<depends>
<field id="enabled">1</field>
<field id="functionality_enabled">1</field>
</depends>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
Expand Down

0 comments on commit 3835ad5

Please sign in to comment.