function($id)
{
($info = $this->info($id)) &&
$this->db->update('bbn_tasks', ['active' => 0], ['id' => $id])
){
$this->addLog($id, 'delete');
/* $subject = "Suppression du bug $info[title]";
$text = "{$this->user} a supprimé le bug
$info[title]
";
$this->email($id, $subject, $text); */
return $id;
}
}