diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-24 10:54:24 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 22:57:00 +0300 |
commit | ba2b5427753c827ad34388ac26ed67f3b72812c2 (patch) | |
tree | 0732c8579599babf5d4bd3963129adebfe456a22 | |
parent | 37e6488206d119ff99fbeab2fd77fe1f22d7ddee (diff) |
Listen to IUser::postDelete
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | lib/private/Collaboration/Resources/Listener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Resources/Listener.php b/lib/private/Collaboration/Resources/Listener.php index 0b190530d5d..7014f3bb9f0 100644 --- a/lib/private/Collaboration/Resources/Listener.php +++ b/lib/private/Collaboration/Resources/Listener.php @@ -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 */ |