remove cron key from the code and remove old cron script and setup and update cli scripts as they now reside in scripts directory

This commit is contained in:
johnnyq
2025-01-25 21:44:46 -05:00
parent 052d5a6dbe
commit d5a03d3afc
12 changed files with 11 additions and 2507 deletions

View File

@@ -2462,10 +2462,17 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.7.9'");
}
// if (CURRENT_DATABASE_VERSION == '1.7.9') {
// // Insert queries here required to update to DB version 1.8.0
if (CURRENT_DATABASE_VERSION == '1.7.9') {
mysqli_query($mysqli, "ALTER TABLE `settings` DROP `config_cron_key`");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.8.0'");
}
// if (CURRENT_DATABASE_VERSION == '1.8.0') {
// // Insert queries here required to update to DB version 1.8.1
// // Then, update the database to the next sequential version
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.8.0'");
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.8.1'");
// }
} else {