From 835e60d9673ceef8178b9092eb27cb5ae90337b5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 10 Aug 2025 00:32:05 -0600 Subject: [PATCH] Deprecate device_enabled_date Replaced with insert_date, and update_date --- app/devices/app_config.php | 1 + app/devices/device_edit.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index a346b9fd38..718077b973 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -490,6 +490,7 @@ $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"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_template"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_template"; diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 828d8f252b..f98f0b5786 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -284,7 +284,6 @@ } if (permission_exists('device_enable')) { $array['devices'][0]['device_enabled'] = $device_enabled; - $array['devices'][0]['device_enabled_date'] = 'now()'; } if (permission_exists('device_template')) { $array['devices'][0]['device_template'] = $device_template;