mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[TO REVERSE] enlève menu activités
This commit is contained in:
parent
2cf28b6c2d
commit
c26d342d30
@ -56,6 +56,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
/* @var $person \Chill\PersonBundle\Entity\Person */
|
/* @var $person \Chill\PersonBundle\Entity\Person */
|
||||||
$person = $parameters['person'];
|
$person = $parameters['person'];
|
||||||
|
|
||||||
|
if (false) {
|
||||||
if ($this->authorizationChecker->isGranted(ActivityVoter::SEE, $person)) {
|
if ($this->authorizationChecker->isGranted(ActivityVoter::SEE, $person)) {
|
||||||
$menu->addChild(
|
$menu->addChild(
|
||||||
$this->translator->trans('Activity list'), [
|
$this->translator->trans('Activity list'), [
|
||||||
@ -75,6 +76,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static function getMenuIds(): array
|
public static function getMenuIds(): array
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user