From 4c60313ed7f3a33663e338cd6158d5bf463e1ad8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 4 Dec 2023 13:27:20 -0700 Subject: [PATCH] Remove deprecated fields id and v_id --- app/call_broadcast/app_config.php | 13 ------------- app/call_centers/app_config.php | 13 ------------- app/conferences/app_config.php | 1 - app/contacts/app_config.php | 17 ----------------- app/devices/app_config.php | 19 +++---------------- app/extensions/app_config.php | 21 --------------------- app/fax/app_config.php | 20 -------------------- app/gateways/app_config.php | 8 -------- app/ivr_menus/app_config.php | 16 ---------------- app/modules/app_config.php | 13 ------------- app/recordings/app_config.php | 8 -------- app/vars/app_config.php | 13 ------------- app/voicemail_greetings/app_config.php | 13 ------------- app/xml_cdr/app_config.php | 8 -------- core/authentication/app_config.php | 18 +++++++++--------- core/databases/app_config.php | 12 ------------ core/domain_settings/app_config.php | 6 ------ core/domains/app_config.php | 6 ------ core/groups/app_config.php | 25 ------------------------- core/menu/app_config.php | 24 ------------------------ core/software/app_config.php | 7 ------- 21 files changed, 12 insertions(+), 269 deletions(-) diff --git a/app/call_broadcast/app_config.php b/app/call_broadcast/app_config.php index 61846f3388..1bc83f328b 100644 --- a/app/call_broadcast/app_config.php +++ b/app/call_broadcast/app_config.php @@ -95,14 +95,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_call_broadcasts"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_broadcast_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "call_broadcast_uuid"; //$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][0] = "call_call_broadcast_uuid"; //$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][1] = "broadcast_uuid"; @@ -121,11 +113,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "broadcast_name"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; diff --git a/app/call_centers/app_config.php b/app/call_centers/app_config.php index fad3ad6662..06e0413749 100644 --- a/app/call_centers/app_config.php +++ b/app/call_centers/app_config.php @@ -522,14 +522,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_call_center_tiers"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_tier_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "call_center_tier_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -565,11 +557,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "call_center_agent_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "agent_name"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; diff --git a/app/conferences/app_config.php b/app/conferences/app_config.php index dea9990528..1bc1315597 100644 --- a/app/conferences/app_config.php +++ b/app/conferences/app_config.php @@ -100,7 +100,6 @@ $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $apps[$x]['permissions'][$y]['groups'][] = "admin"; - //cache details $apps[$x]['cache']['key'] = "dialplan.\${domain_name}"; diff --git a/app/contacts/app_config.php b/app/contacts/app_config.php index fb5ee4b048..3b7b4e175b 100644 --- a/app/contacts/app_config.php +++ b/app/contacts/app_config.php @@ -256,11 +256,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "contact_parent_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -575,13 +570,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_contact_notes"; $apps[$x]['db'][$y]['table']['parent'] = "v_contacts"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contacts_note_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -598,11 +586,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "contact_id"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Contact ID"; diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 72e02f474d..d0fbc218bf 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -301,9 +301,9 @@ $apps[$x]['permissions'][$y]['name'] = "device_profile_domain"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; - $apps[$x]['permissions'][$y]['name'] = 'device_profile_select'; - $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; - $apps[$x]['permissions'][$y]['groups'][] = "admin"; + $apps[$x]['permissions'][$y]['name'] = 'device_profile_select'; + $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; + $apps[$x]['permissions'][$y]['groups'][] = "admin"; $y++; $apps[$x]['permissions'][$y]['name'] = 'device_profile_key_view'; $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; @@ -412,14 +412,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_devices"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "hardware_device_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "hardware_device_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -446,11 +438,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "device_profile_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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_address"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "device_mac_address"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/app/extensions/app_config.php b/app/extensions/app_config.php index 6a05c6beca..07e40a8470 100644 --- a/app/extensions/app_config.php +++ b/app/extensions/app_config.php @@ -360,14 +360,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_extensions"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "extension_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "extension_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -384,11 +376,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "extension"; $apps[$x]['db'][$y]['fields'][$z]['uuid'] = "15607400-7d58-475d-8f4e-7ffb858aa3e7"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; @@ -696,14 +683,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_extension_users"; $apps[$x]['db'][$y]['table']['parent'] = "v_extensions"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; - $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; - $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'] = "extension_user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/app/fax/app_config.php b/app/fax/app_config.php index be873ff579..0eee20c45c 100644 --- a/app/fax/app_config.php +++ b/app/fax/app_config.php @@ -425,14 +425,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_fax"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "fax_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "fax_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -458,11 +450,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "dialplan_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "fax_extension"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "faxextension"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; @@ -609,13 +596,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_fax_users"; $apps[$x]['db'][$y]['table']['parent'] = "v_fax"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "fax_user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/app/gateways/app_config.php b/app/gateways/app_config.php index 29b3754eb4..12fd0df59a 100644 --- a/app/gateways/app_config.php +++ b/app/gateways/app_config.php @@ -92,14 +92,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_gateways"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "gateway_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "gateway_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/app/ivr_menus/app_config.php b/app/ivr_menus/app_config.php index 82c5364639..b6daa89b1f 100644 --- a/app/ivr_menus/app_config.php +++ b/app/ivr_menus/app_config.php @@ -223,14 +223,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_ivr_menus"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "ivr_menu_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "ivr_menu_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -411,14 +403,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_ivr_menu_options"; $apps[$x]['db'][$y]['table']['parent'] = "v_ivr_menus"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "ivr_menu_option_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "ivr_menu_option_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/app/modules/app_config.php b/app/modules/app_config.php index 59f4e5366e..b20b7f58e7 100644 --- a/app/modules/app_config.php +++ b/app/modules/app_config.php @@ -50,14 +50,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_modules"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "module_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "module_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -65,11 +57,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "module_label"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "modulelabel"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/app/recordings/app_config.php b/app/recordings/app_config.php index 6556e01a97..97bcd5017e 100644 --- a/app/recordings/app_config.php +++ b/app/recordings/app_config.php @@ -145,14 +145,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_recordings"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "recording_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "recording_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/app/vars/app_config.php b/app/vars/app_config.php index ea7223c9a1..379b092d9a 100644 --- a/app/vars/app_config.php +++ b/app/vars/app_config.php @@ -49,14 +49,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_vars"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "var_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -64,11 +56,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "var_category"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "var_cat"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/app/voicemail_greetings/app_config.php b/app/voicemail_greetings/app_config.php index 22491de008..8c861ae7b9 100644 --- a/app/voicemail_greetings/app_config.php +++ b/app/voicemail_greetings/app_config.php @@ -71,14 +71,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_voicemail_greetings"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "greeting_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "voicemail_greeting_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "greeting_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -96,11 +88,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "voicemail_id"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "user_id"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/app/xml_cdr/app_config.php b/app/xml_cdr/app_config.php index f31a68b884..7a55d74cd7 100644 --- a/app/xml_cdr/app_config.php +++ b/app/xml_cdr/app_config.php @@ -444,14 +444,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_xml_cdr"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "xml_cdr_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "xml_cdr_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; diff --git a/core/authentication/app_config.php b/core/authentication/app_config.php index 5b175b2791..829ff812ea 100644 --- a/core/authentication/app_config.php +++ b/core/authentication/app_config.php @@ -59,14 +59,14 @@ $apps[$x]['default_settings'][$y]['default_setting_order'] = "30"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_description'] = ""; - $y++; - $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "59295a4c-7315-4059-aa11-60b6e2f4db48"; - $apps[$x]['default_settings'][$y]['default_setting_category'] = "authentication"; - $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "email_send_mode"; - $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; - $apps[$x]['default_settings'][$y]['default_setting_value'] = "email_queue"; - $apps[$x]['default_settings'][$y]['default_setting_order'] = "40"; - $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; - $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: email_queue, direct"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "59295a4c-7315-4059-aa11-60b6e2f4db48"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "authentication"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "email_send_mode"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "email_queue"; + $apps[$x]['default_settings'][$y]['default_setting_order'] = "40"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: email_queue, direct"; ?> diff --git a/core/databases/app_config.php b/core/databases/app_config.php index d141b78959..c9a6b73445 100644 --- a/core/databases/app_config.php +++ b/core/databases/app_config.php @@ -49,13 +49,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_databases"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT PRIMARY KEY"; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "database_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -64,11 +57,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "database_driver"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/core/domain_settings/app_config.php b/core/domain_settings/app_config.php index 2b57fe401a..a40cd9972d 100644 --- a/core/domain_settings/app_config.php +++ b/core/domain_settings/app_config.php @@ -52,12 +52,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_domain_settings"; $apps[$x]['db'][$y]['table']['parent'] = "v_domains"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/core/domains/app_config.php b/core/domains/app_config.php index 97f0f4e7a2..d149ba075f 100644 --- a/core/domains/app_config.php +++ b/core/domains/app_config.php @@ -66,12 +66,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_domains"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/core/groups/app_config.php b/core/groups/app_config.php index fd76722f01..916c39cf9f 100644 --- a/core/groups/app_config.php +++ b/core/groups/app_config.php @@ -96,13 +96,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -112,11 +105,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "group_name"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; @@ -173,14 +161,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "group_permission_name"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -190,11 +170,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $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'] = "permission_name"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "permission_id"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/core/menu/app_config.php b/core/menu/app_config.php index a1b87c6f5a..b149538965 100644 --- a/core/menu/app_config.php +++ b/core/menu/app_config.php @@ -86,13 +86,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_menus"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -145,14 +138,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_menu_items"; $apps[$x]['db'][$y]['table']['parent'] = "v_menus"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "menu_item_uuid"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -261,15 +246,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_menu_item_groups"; $apps[$x]['db'][$y]['table']['parent'] = "v_menu_items"; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_group_name"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; - $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'] = "menu_item_group_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; diff --git a/core/software/app_config.php b/core/software/app_config.php index 28bb1b14e2..aed658ecfa 100644 --- a/core/software/app_config.php +++ b/core/software/app_config.php @@ -33,13 +33,6 @@ $apps[$x]['db'][$y]['table']['name'] = "v_software"; $apps[$x]['db'][$y]['table']['parent'] = ""; $z=0; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $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'] = "software_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";