mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-05-10 18:26:26 +02:00
Add phone reliability features
This commit is contained in:
parent
44b855dd48
commit
52c849e043
22 changed files with 837 additions and 188 deletions
models
|
@ -31,6 +31,16 @@ namespace models;
|
|||
return $this->_select_one('user', ['id' => $id]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all active users.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_all_active()
|
||||
{
|
||||
return $this->_select('user', ['status' => self::STATUS_ACTIVE]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find user by ids.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue