Skip to content

Commit b0e99ee

Browse files
committed
fix: removed obsolete download link
1 parent 057b167 commit b0e99ee

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

phpmyfaq/assets/src/configuration/update.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ export const handleConfigBackup = async () => {
8787
throw new Error('Network response was not ok');
8888
}
8989

90-
const data = await response.json();
91-
const downloadLink = document.getElementById('phpmyfaq-update-backup-download-link');
92-
downloadLink.href = data.backupFile;
90+
await response.json();
9391
} catch (error) {
9492
const errorMessage =
9593
error.cause && error.cause.response ? await error.cause.response.json() : { error: 'Unknown error' };

phpmyfaq/assets/templates/setup/update/step2.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
Before we start the database update process, we created a backup of your current phpMyFAQ configuration files.
1313
This is a safety measure in case something goes wrong during the update process.
1414
</p>
15-
<p>
16-
<strong>Important:</strong> Please make sure that you have a copy of your
17-
<a href="" id="phpmyfaq-update-backup-download-link">configuration.</a>
18-
</p>
1915
</div>
2016

2117
</div>

0 commit comments

Comments
 (0)