mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Deprecate device_enabled_date
Replaced with insert_date, and update_date
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user