mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Add callback for phone calls, not tested yet
This commit is contained in:
parent
52a0302dc2
commit
41c3b3b86e
13 changed files with 378 additions and 57 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue