Fixed missing trigger on contact delete
This commit is contained in:
parent
e9688e66c0
commit
9b0b5f755b
@ -293,7 +293,7 @@ class Contacts extends DolibarrApi
|
|||||||
throw new RestException(401, 'Access not allowed for login ' . DolibarrApiAccess::$user->login);
|
throw new RestException(401, 'Access not allowed for login ' . DolibarrApiAccess::$user->login);
|
||||||
}
|
}
|
||||||
$this->contact->oldcopy = clone $this->contact;
|
$this->contact->oldcopy = clone $this->contact;
|
||||||
return $this->contact->delete($id);
|
return $this->contact->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user