Skip to content
Snippets Groups Projects
Commit 70f7321d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Comment

parent 8c90ad8a
Branches
Tags
No related merge requests found
......@@ -141,7 +141,7 @@ class InterfaceMailmanSpipsynchro
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
// We add subscription if new email or new type (new type may means more mailing-list to subscribe)
// We add subscription if we change category (new category may means more mailing-list to subscribe)
if ($object->linkto->add_to_abo() < 0)
{
$this->error=$object->linkto->error;
......@@ -159,6 +159,7 @@ class InterfaceMailmanSpipsynchro
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
// We remove subscription if we change category (lessw category may means less mailing-list to subscribe)
if ($object->unlinkoff->del_to_abo() < 0)
{
$this->error=$object->unlinkoff->error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment