Fixed missing trigger on contact delete

This commit is contained in:
Thomas 2020-02-12 13:50:58 +01:00 committed by GitHub
parent 92dc43de93
commit 30c49478d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,7 +293,7 @@ class Contacts extends DolibarrApi
throw new RestException(401, 'Access not allowed for login ' . DolibarrApiAccess::$user->login);
}
$this->contact->oldcopy = clone $this->contact;
return $this->contact->delete($id);
return $this->contact->delete();
}
/**