Skip to content
Snippets Groups Projects
Commit d7236dc1 authored by Prasad's avatar Prasad
Browse files

Removed redundant code.

parent 43787a38
No related branches found
No related tags found
No related merge requests found
......@@ -1055,17 +1055,6 @@ class Users extends CRMEntity {
$this->column_fields['currency_symbol_placement'] = $this->currency_symbol_placement = '$1.0';
}
// TODO - This needs to be cleaned up once default values for fields are picked up in a cleaner way.
// This is just a quick fix to ensure things doesn't start breaking when the user currency configuration is missing
if($this->column_fields['currency_grouping_pattern'] == ''
&& $this->column_fields['currency_symbol_placement'] == '') {
$this->column_fields['currency_grouping_pattern'] = $this->currency_grouping_pattern = '123,456,789';
$this->column_fields['currency_decimal_separator'] = $this->currency_decimal_separator = '.';
$this->column_fields['currency_grouping_separator'] = $this->currency_grouping_separator = ',';
$this->column_fields['currency_symbol_placement'] = $this->currency_symbol_placement = '$1.0';
}
$this->id = $record;
$log->debug("Exit from retrieve_entity_info($record, $module) method.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment