Index: branches/5.3.x/units/currencies/currencies_event_handler.php =================================================================== diff -u -N -r15492 -r15583 --- branches/5.3.x/units/currencies/currencies_event_handler.php (.../currencies_event_handler.php) (revision 15492) +++ branches/5.3.x/units/currencies/currencies_event_handler.php (.../currencies_event_handler.php) (revision 15583) @@ -1,6 +1,6 @@ Application->SetVar('passed', implode(',', $passed)); } } - - /** - * Changes default module to custom (when available) - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnAfterConfigRead(kEvent $event) - { - parent::OnAfterConfigRead($event); - - // make sure, that currency Translation is on current language - $language_id = $this->Application->GetVar('m_lang'); - $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields'); - - foreach ($calculated_fields[''] as $field_name => $field_expression) { - $calculated_fields[''][$field_name] = str_replace('%4$s', $language_id, $field_expression); - } - - $this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields); - } } \ No newline at end of file