Rename the fields in call_block to conform with the database naming convention and to match the table name.

This commit is contained in:
Mark Crane
2013-09-27 10:21:43 +00:00
parent eb4fb5573f
commit 2c5a380e0e
5 changed files with 70 additions and 64 deletions
+10 -5
View File
@@ -79,19 +79,23 @@
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_caller_name';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_name';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'blocked_caller_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the name.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_caller_number';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_number';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'blocked_caller_number';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the full phone number.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_call_count';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_count';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'blocked_call_count';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Number of calls.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_call_action';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_action';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'blocked_call_action';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Action for call.';
$z++;
@@ -99,7 +103,8 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Date/Time number was added.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'block_call_enabled';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_enabled';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'block_call_enabled';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enable/disable blocking the call.';
$z++;