revert unwanted change to publics/User, fix errors phone & Settings

This commit is contained in:
osaajani 2019-11-14 23:09:56 +01:00
parent 6d9b1289fd
commit 18c7cb019d
7 changed files with 47 additions and 11 deletions

View file

@ -54,9 +54,9 @@ namespace controllers\internals;
*/
public function update_for_user (int $id_user, string $name, $value) : bool
{
return (bool) $this->get_model()->update($id_user, $name, $value);
return (bool) $this->get_model()->update_by_name_for_user($id_user, $name, $value);
}
/**
* Create a new setting