File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' } ;
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments