Listen to IUser::postDelete
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
37e6488206
commit
ba2b542775
|
@ -43,7 +43,7 @@ class Listener {
|
|||
$dispatcher->addListener(IGroup::class . '::postAddUser', $listener);
|
||||
$dispatcher->addListener(IGroup::class . '::postRemoveUser', $listener);
|
||||
|
||||
$dispatcher->addListener(IGroup::class . '::postDelete', function(GenericEvent $event) {
|
||||
$dispatcher->addListener(IUser::class . '::postDelete', function(GenericEvent $event) {
|
||||
/** @var IUser $user */
|
||||
$user = $event->getSubject();
|
||||
/** @var IManager $resourceManager */
|
||||
|
|
Loading…
Reference in New Issue