Add callback for phone calls, not tested yet

This commit is contained in:
osaajani 2021-03-23 17:39:13 +01:00
parent 52a0302dc2
commit 41c3b3b86e
13 changed files with 378 additions and 57 deletions

View file

@ -158,9 +158,9 @@ namespace models;
*
* @return int : number of modified rows
*/
public function update_for_user(int $id_user, int $id, array $entry)
public function update_for_user(int $id_user, int $id, array $data)
{
return $this->_update($this->get_table_name(), $entry, ['id_user' => $id_user, 'id' => $id]);
return $this->_update($this->get_table_name(), $data, ['id_user' => $id_user, 'id' => $id]);
}
/**