mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-26 09:33:50 +00:00
Remove usage of deprecated Role class
This commit is contained in:
@@ -73,7 +73,7 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
|
||||
//adding join
|
||||
$qb->join('r.person', 'p');
|
||||
|
||||
$role = new Role('CHILL_REPORT_SEE');
|
||||
$role = 'CHILL_REPORT_SEE';
|
||||
$reachableCenters = $this->helper->getReachableCenters($this->user, $role);
|
||||
|
||||
$whereElement = $qb->expr()->orX();
|
||||
|
Reference in New Issue
Block a user