Browse Source

Remove deprecated fields id and v_id

FusionPBX 1 year ago
parent
commit
01aba47ff6

+ 9 - 9
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_order'] = "30";
 		$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
 		$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
 		$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
 		$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";
 
 
 ?>
 ?>

+ 0 - 12
core/databases/app_config.php

@@ -49,13 +49,6 @@
 		$apps[$x]['db'][$y]['table']['name'] = "v_databases";
 		$apps[$x]['db'][$y]['table']['name'] = "v_databases";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$z=0;
 		$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']['text'] = "database_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "database_connection_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "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]['key']['type'] = "primary";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$z++;
 		$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']['text'] = "database_driver";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "db_type";
 		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
 		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";

+ 0 - 6
core/domain_settings/app_config.php

@@ -52,12 +52,6 @@
 		$apps[$x]['db'][$y]['table']['name'] = "v_domain_settings";
 		$apps[$x]['db'][$y]['table']['name'] = "v_domain_settings";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_domains";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_domains";
 		$z=0;
 		$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]['name'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";

+ 0 - 6
core/domains/app_config.php

@@ -66,12 +66,6 @@
 		$apps[$x]['db'][$y]['table']['name'] = "v_domains";
 		$apps[$x]['db'][$y]['table']['name'] = "v_domains";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$z=0;	
 		$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]['name'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";

+ 0 - 25
core/groups/app_config.php

@@ -96,13 +96,6 @@
 		$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
 		$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$z++;
 		$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]['name'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";
@@ -112,11 +105,6 @@
 		$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$z++;
 		$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']['text'] = "group_name";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid";
 		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
 		$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]['key']['type'] = "primary";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$z++;
 		$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]['name'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";
@@ -190,11 +170,6 @@
 		$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
 		$z++;
 		$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']['text'] = "permission_name";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "permission_id";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "permission_id";
 		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
 		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";

+ 0 - 24
core/menu/app_config.php

@@ -86,13 +86,6 @@
 		$apps[$x]['db'][$y]['table']['name'] = "v_menus";
 		$apps[$x]['db'][$y]['table']['name'] = "v_menus";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$z=0;
 		$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']['text'] = "menu_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['name'] = "v_menu_items";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_menus";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_menus";
 		$z=0;
 		$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']['text'] = "menu_item_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid";
 		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['name'] = "v_menu_item_groups";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_menu_items";
 		$apps[$x]['db'][$y]['table']['parent'] = "v_menu_items";
 		$z=0;
 		$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]['name'] = "menu_item_group_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";

+ 0 - 7
core/software/app_config.php

@@ -33,13 +33,6 @@
 		$apps[$x]['db'][$y]['table']['name'] = "v_software";
 		$apps[$x]['db'][$y]['table']['name'] = "v_software";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$apps[$x]['db'][$y]['table']['parent'] = "";
 		$z=0;
 		$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]['name'] = "software_uuid";
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
 		$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']['sqlite'] = "text";