Index: branches/5.2.x/core/units/configuration/configuration_event_handler.php =================================================================== diff -u -N -r13840 -r14095 --- branches/5.2.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 13840) +++ branches/5.2.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 14095) @@ -1,6 +1,6 @@ Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { - $event->status = erFAIL; + $event->status = kEvent::erFAIL; return ; } @@ -231,10 +231,10 @@ } } - $event->status = $has_error ? erFAIL : erSUCCESS; + $event->status = $has_error ? kEvent::erFAIL : kEvent::erSUCCESS; } - if ($event->status == erSUCCESS) { + if ($event->status == kEvent::erSUCCESS) { if ($new_category_id !== false) { // root category was submitted $module = $this->Application->GetVar('module'); @@ -276,28 +276,6 @@ } /** - * Enter description here... - * - * @param kEvent $event - */ - /*function OnChangeCountry(&$event) - { - $event->setPseudoClass('_List'); - $object = &$event->getObject( Array('per_page'=>-1) ); - $object->Query(); - $array_records =& $object->Records; - foreach($array_records as $i=>$record){ - if ($record['VariableName']=='Comm_Country'){ - $values = $this->Application->GetVar('conf'); - $array_records[$i]['VariableValue'] = $values['Comm_Country']['VariableValue']; - } - } - - $event->redirect_params = Array('opener' => 's', 'pass'=>'all,conf'); //stay! - $event->redirect = false; - }*/ - - /** * Process items from selector (selected_ids var, key - prefix, value - comma separated ids) * * @param kEvent $event