Index: branches/5.0.x/in-link/units/l-visits/l-visit_eh.php =================================================================== diff -u -N --- branches/5.0.x/in-link/units/l-visits/l-visit_eh.php (revision 12746) +++ branches/5.0.x/in-link/units/l-visits/l-visit_eh.php (revision 0) @@ -1,35 +0,0 @@ -MasterEvent->Prefix == 'u' ? 'PortalUserId' : 'ResourceId'; - $table_name = $this->Application->getUnitOption($this->Prefix, 'TableName'); - - $object =& $event->MasterEvent->getObject(); - - $sql = 'DELETE FROM '.$table_name.' - WHERE '.$key_field.' = '.$object->GetDBField($key_field); - $this->Conn->Query($sql); - } -} \ No newline at end of file