mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Remove usage of deprecated Role class
This commit is contained in:
@@ -159,7 +159,7 @@ class SingleTaskRepository extends EntityRepository
|
||||
. '`setAuthorizationHelper`');
|
||||
}
|
||||
|
||||
$role = new Role(TaskVoter::SHOW);
|
||||
$role = TaskVoter::SHOW;
|
||||
$qb->join('st.person', 'p');
|
||||
|
||||
$centers = $this->authorizationHelper
|
||||
|
Reference in New Issue
Block a user