The trigger BON_PRELEVEMENT has been renamed into

DIRECT_DEBIT_ORDER_CREATE.
This commit is contained in:
Laurent Destailleur 2019-09-30 18:50:23 +02:00
parent ecc2e8df67
commit a56b9e1ca9
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Following changes may create regressions for some external modules, but were nec
* Removed deprecated method actioncomm->add(), use create() instead
* If you have developed your own emailing target selector and used parent::add_to_target(...), you must now use parent::addToTargets(...)
* Removed function dol_micro_time. Use native PHP microtime instead.
* The trigger BON_PRELEVEMENT has been renamed into DIRECT_DEBIT_ORDER_CREATE.
***** ChangeLog for 10.0.2 compared to 10.0.1 *****

View File

@ -1149,7 +1149,7 @@ class BonPrelevement extends CommonObject
if (! $notrigger)
{
// Call trigger
$result=$this->call_trigger('BON_PRELEVEMENT_DELETE', $user);
$result=$this->call_trigger('DIRECT_DEBIT_ORDER_DELETE', $user);
if ($result < 0) $error++;
// End call triggers
}