Deprecate device_enabled_date

Replaced with insert_date, and update_date
This commit is contained in:
FusionPBX
2025-08-10 00:32:05 -06:00
committed by GitHub
parent b6868ebedb
commit 835e60d967
2 changed files with 1 additions and 1 deletions

View File

@@ -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";

View File

@@ -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;