FIX old method add have to return create method result for backward compatibility

This commit is contained in:
Alexis Algoud 2016-06-29 16:30:47 +02:00
parent 5f5328c3d8
commit a55a166df3

View File

@ -406,7 +406,7 @@ class ActionComm extends CommonObject
*/ */
public function add(User $user, $notrigger = 0) public function add(User $user, $notrigger = 0)
{ {
$this->create($user, $notrigger); return $this->create($user, $notrigger);
} }
/** /**