Update app_config.php

Change call_flow_sound_on to call_flow_sound. Call flow anti to alternate and call_flow_sound_off to call_flow_alternate_sound.
This changes make it more consistent with the front end. For the few developers that have the call_flow_sound_on and call_flow_sound off I offer the these alter table statements.
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_on to call_flow_sound;
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_off to call_flow_alternate_sound;
This commit is contained in:
FusionPBX
2016-06-11 09:04:42 -06:00
committed by GitHub
parent 03e62d9e91
commit e3526deb41

View File

@@ -108,6 +108,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the label.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_sound";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the sound.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_app";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the application.";
@@ -116,28 +120,27 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the application data.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_anti_label";
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_label";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_label";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alternate label.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_anti_app";
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_alternate_sound";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the alternate sound.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_app";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_app";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alternate application.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_anti_data";
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_data";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_data";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alernate application data.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the description.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_sound_on";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the sound when on.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_sound_off";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the sound when off.";
$z++;
?>