mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
remove query for groups on conditional_groups list
This commit is contained in:
parent
8d86f576d8
commit
a325abd249
2 changed files with 21 additions and 37 deletions
|
@ -44,12 +44,9 @@ namespace controllers\publics;
|
|||
*
|
||||
* @param mixed $page
|
||||
*/
|
||||
public function list($page = 0)
|
||||
public function list()
|
||||
{
|
||||
$page = (int) $page;
|
||||
|
||||
$groups = $this->internal_conditional_group->list_for_user($_SESSION['user']['id']);
|
||||
$this->render('conditional_group/list', ['groups' => $groups]);
|
||||
$this->render('conditional_group/list');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue