Merge pull request #13092 from perotom/patch-1
FIX: missing trigger on contact delete
This commit is contained in:
commit
75fe2f4dfc
@ -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