Przeglądaj źródła

Update app_config.php

FusionPBX 5 lat temu
rodzic
commit
e82ab8640a
1 zmienionych plików z 1 dodań i 35 usunięć
  1. 1 35
      core/upgrade/app_config.php

+ 1 - 35
core/upgrade/app_config.php

@@ -44,38 +44,4 @@
 		$apps[$x]['permissions'][$y]['name'] = "upgrade_switch";
 		$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
 
-	//schema details
-		$y=0;
-		$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";
-		$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'] = "";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "software_name";
-		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwarename";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "software_url";
-		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwareurl";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-		$z++;
-		$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "software_version";
-		$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwareversion";
-		$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
-		$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
-
-?>
+?>