Only start daemons for phones of active users

This commit is contained in:
osaajani 2023-01-31 23:11:25 +01:00
parent ad1f798ae6
commit 1c7a84def0
5 changed files with 40 additions and 3 deletions

View file

@ -19,6 +19,18 @@ namespace controllers\internals;
protected $model;
/**
* Return all phones for active users.
*
* @param int $id_user : user id
*
* @return array
*/
public function get_all_for_active_users()
{
return $this->get_model()->get_all_for_active_users();
}
/**
* Return all phones of a user.
*