Remove the deprecated v_ring_group_extensions table and the related translation variables.

This commit is contained in:
Mark Crane 2013-07-27 21:21:37 +00:00
parent e285eb3976
commit 05a728ca0e
2 changed files with 2 additions and 47 deletions

View File

@ -55,6 +55,7 @@
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
//schema details
$y = 0; //table array index
$z = 0; //field array index
@ -125,42 +126,6 @@
$y = 1; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_ring_group_extensions';
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'ring_group_extension_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'] = 'primary';
$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';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key'] = 'foreign';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'ring_group_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'] = 'foreign';
$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';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the extension.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_delay';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_timeout';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$y = 2; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_ring_group_destinations';
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'ring_group_destination_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';

View File

@ -27,12 +27,10 @@
$text['title']['en-us'] = 'Ring Groups';
$text['description']['en-us'] = 'A ring group is a set of extensions that can be called with a ring strategy.';
$text['description']['en-us'] = 'A ring group is a set of destinations that can be called with a ring strategy.';
$text['label-name']['en-us'] = 'Name';
$text['label-extension']['en-us'] = 'Extension';
$text['label-enabled']['en-us'] = 'Enabled';
$text['label-description']['en-us'] = 'Description';
@ -41,8 +39,6 @@
$text['message-name']['en-us'] = 'Please provide: Name';
$text['message-extension']['en-us'] = 'Please provide: Extension';
$text['message-strategy']['en-us'] = 'Please provide: Strategy';
$text['message-timeout']['en-us'] = 'Please provide: Timeout';
@ -75,12 +71,6 @@
$text['description-strategy']['en-us'] = 'Select the ring strategy.';
$text['label-extensions']['en-us'] = 'Extensions';
$text['description-extensions']['en-us'] = 'Add an extension and ring parameters to the ring group.';
$text['description-extension']['en-us'] = 'Define an extension number for this ring group.';
$text['label-duration']['en-us'] = 'Duration';
$text['label-call-timeout']['en-us'] = 'Call Timeout';