move trigger
This commit is contained in:
parent
87d0919e17
commit
f8a8417077
@ -1135,16 +1135,16 @@ class User extends CommonObject
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (! $error && ! $notrigger)
|
|
||||||
{
|
if (! $error && ! $notrigger)
|
||||||
// Appel des triggers
|
{
|
||||||
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
|
// Appel des triggers
|
||||||
$interface=new Interfaces($this->db);
|
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
|
||||||
$result=$interface->run_triggers('USER_MODIFY',$this,$user,$langs,$conf);
|
$interface=new Interfaces($this->db);
|
||||||
if ($result < 0) { $error++; $this->errors=$interface->errors; }
|
$result=$interface->run_triggers('USER_MODIFY',$this,$user,$langs,$conf);
|
||||||
// Fin appel triggers
|
if ($result < 0) { $error++; $this->errors=$interface->errors; }
|
||||||
}
|
// Fin appel triggers
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user