Skip to content

Commit 5bf7d27

Browse files
committed
Various Warning Fixes
1 parent d2cc85c commit 5bf7d27

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

themes/default/views/admin/settings.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -208,23 +208,6 @@
208208
});
209209
});
210210
</script>
211-
<?php if (Page::$pageData->migrate_config) : ?>
212-
<div class="col-lg">
213-
<button class="btn bg-custom" id="migrate-btn">Migrate Config</button>
214-
</div>
215-
<script>
216-
$("#migrate-btn").click(function() {
217-
$.get('/api.php/config_migrate', function(_, status) {
218-
if (status == 'success') {
219-
alert('Configuration Migrated Sucessfully');
220-
return;
221-
}
222-
223-
alert('Configuration Migration Failed');
224-
});
225-
});
226-
</script>
227-
<?php endif; ?>
228211
</div>
229212
</div>
230213
<div id="updates" class="p-3 tab-pane container-fluid fade">

themes/tailwind/views/admin/settings.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,6 @@
115115
Repair Site
116116
</button>
117117
</div>
118-
<?php if (Page::$pageData->migrate_config) : ?>
119-
<div class="flex-1 text-center">
120-
<button type="button" @click="await migrateConfig(); flashSuccess = 'Configuration Migrated Successfully';" class="button-primary">
121-
Migrate Configuration
122-
</button>
123-
</div>
124-
<?php endif; ?>
125118
</div>
126119
</div>
127120
<div id="updates" x-show="activeTab == $el.id">

0 commit comments

Comments
 (0)