From 79c359d0bc5d10d48c1746e641d9ab078872bd73 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 30 Oct 2025 13:06:07 -0600 Subject: [PATCH] Remove deprecated Reason for this to device_enabled_date. Restoring backup for a domain has this field on an older system. If the field doesn't exist it breaks the restore. --- app/devices/app_config.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index b2d95f1223..e778cf886b 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -489,8 +489,7 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamptz"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "date"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "timestamp"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "deprecated"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_template"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_template"; @@ -528,7 +527,7 @@ $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_time_zone"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_time_zone"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "deprecated"; $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_description";