Actions done after the UPDATE of the item in the database
public post_updateItem ( $history = 1 ) : nothing | ||
$history | store changes history ? (default 1) | |
return | nothing |
public function post_purgeItem($history = 1) { $changes[0] = '0'; $changes[1] = ''; $changes[2] = sprintf(__('%1$s deleted closing informations', 'moreticket'), getUserName(Session::getLoginUserID())); Log::history($this->fields['tickets_id'], 'Ticket', $changes, 0, Log::HISTORY_LOG_SIMPLE_MESSAGE); parent::post_updateItem(); }