diff --git a/include/class.ticket.php b/include/class.ticket.php index a2cee6153ae00ba9efb04c91562f00804fb235b9..12327054ca0f8c442c19a09baeb27c50a213f934 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -986,7 +986,7 @@ implements RestrictedAccess, Threadable { foreach ($ids as $k => $cid) { if (($c=Collaborator::lookup($cid)) && $c->getTicketId() == $this->getId() - && $c->remove()) + && $c->delete()) $collabs[] = $c; } @@ -2007,7 +2007,7 @@ implements RestrictedAccess, Threadable { $c = Collaborator::lookup(array( 'user_id' => $user->getId(), 'thread_id' => $this->getThreadId())); - if ($c && $c->remove()) + if ($c && $c->delete()) $note.= ' '._S('(removed as collaborator)'); $this->logNote('Ticket ownership changed', $note);