mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Only start daemons for phones of active users
This commit is contained in:
parent
ad1f798ae6
commit
1c7a84def0
5 changed files with 40 additions and 3 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue