mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Removed deprecated method actioncomm->add(), use create() instead
This commit is contained in:
parent
5494fed0a0
commit
750182f9cd
|
|
@ -19,7 +19,7 @@ Following changes may create regressions for some external modules, but were nec
|
|||
* Rename 'module_part' parameter into 'modulepart' into document APIs, for consistency.
|
||||
* The deprecated method get_OutstandingBill has been removed. You can use getOutstandingBills() instead.
|
||||
* The hook "moreFamily" must return payment into var "totalpayment" and no more "paiement" (english replace french).
|
||||
|
||||
* Removed deprecated method actioncomm->add(), use create() instead
|
||||
|
||||
|
||||
***** ChangeLog for 10.0.1 compared to 10.0.0 *****
|
||||
|
|
|
|||
|
|
@ -497,20 +497,6 @@ class ActionComm extends CommonObject
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an action/event into database.
|
||||
* $this->type_id OR $this->type_code must be set.
|
||||
*
|
||||
* @param User $user Object user making action
|
||||
* @param int $notrigger 1 = disable triggers, 0 = enable triggers
|
||||
* @return int Id of created event, < 0 if KO
|
||||
* @deprecated Use create instead
|
||||
*/
|
||||
public function add(User $user, $notrigger = 0)
|
||||
{
|
||||
return $this->create($user, $notrigger);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load an object from its id and create a new one in database
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user