1
0
Fork 0
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:
osaajani 2024-10-26 18:02:11 +02:00
parent 44b855dd48
commit 52c849e043
22 changed files with 837 additions and 188 deletions
models

View file

@ -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.
*