Index: trunk/core/kernel/db/db_event_handler.php =================================================================== diff -u -N -r8428 -r8460 --- trunk/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 8428) +++ trunk/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 8460) @@ -879,26 +879,6 @@ } /** - * Set sorting directly to session - * - * @param kEvent $event - */ - function OnSetSortingDirect(&$event) - { - $combined = $this->Application->GetVar($event->getPrefixSpecial(true).'_CombinedSorting'); - if ($combined) { - list($field,$dir) = explode('|',$combined); - $this->Application->StoreVar($event->Prefix_Special.'_Sort1', $field); - $this->Application->StoreVar($event->Prefix_Special.'_Sort1_Dir', $dir); - return; - } - - $field_pos = $this->Application->GetVar($event->getPrefixSpecial(true).'_SortPos'); - $this->Application->LinkVar( $event->getPrefixSpecial(true).'_Sort'.$field_pos, $event->Prefix_Special.'_Sort'.$field_pos); - $this->Application->LinkVar( $event->getPrefixSpecial(true).'_Sort'.$field_pos.'_Dir', $event->Prefix_Special.'_Sort'.$field_pos.'_Dir'); - } - - /** * Reset grid sorting to default (from config) * * @param kEvent $event