mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-05 22:36:26 +02:00
Add transfer controller and model, remove database model and transfer responsabilities
This commit is contained in:
parent
bda1c7ddfd
commit
c6050f06aa
20 changed files with 465 additions and 219 deletions
|
@ -126,6 +126,16 @@ namespace controllers\internals;
|
|||
return $this->model_user->get_by_email($email);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return users by transfer status.
|
||||
*
|
||||
* @param bool $transfer : transfer status
|
||||
*/
|
||||
public function gets_by_transfer($transfer)
|
||||
{
|
||||
return $this->model_user->get_by_transfer($transfer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cette fonction met à jour une série de users.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue