Remove Phone Masking option in favor of Country Codes

This commit is contained in:
johnnyq
2025-03-26 11:10:51 -04:00
parent 218fd2dcdc
commit 6a26b611fa
6 changed files with 13 additions and 45 deletions

View File

@@ -3419,10 +3419,15 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.1'");
}
// if (CURRENT_DATABASE_VERSION == '2.1.1') {
// // Insert queries here required to update to DB version 2.1.2
if (CURRENT_DATABASE_VERSION == '2.1.1') {
mysqli_query($mysqli, "ALTER TABLE `settings` DROP `config_phone_mask`");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.2'");
}
// if (CURRENT_DATABASE_VERSION == '2.1.2') {
// // Insert queries here required to update to DB version 2.1.3
// // Then, update the database to the next sequential version
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.2'");
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.3'");
// }
} else {