Index: branches/RC/core/units/logs/search_logs/search_log_eh.php =================================================================== diff -u -N --- branches/RC/core/units/logs/search_logs/search_log_eh.php (revision 10839) +++ branches/RC/core/units/logs/search_logs/search_log_eh.php (revision 0) @@ -1,37 +0,0 @@ - Array ('self' => 'delete'), - ); - - $this->permMapping = array_merge($this->permMapping, $permissions); - } - - /** - * Deletes all records from list - * - * @param kEvent $event - */ - function OnDeleteAll(&$event) - { - $sql = 'SELECT ' . $this->Application->getUnitOption($event->Prefix, 'IDField') . ' - FROM ' . $this->Application->getUnitOption($event->Prefix, 'TableName'); - $ids = $this->Conn->GetCol($sql); - - if ($ids) { - $temp_handler =& $this->Application->recallObject($event->getPrefixSpecial() . '_TempHandler', 'kTempTablesHandler'); - /* @var $temp_handler kTempTablesHandler */ - - $temp_handler->DeleteItems($event->Prefix, $event->Special, $ids); - } - } - } \ No newline at end of file