summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-02-24 08:54:24 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:57:00 +0100
commitba2b5427753c827ad34388ac26ed67f3b72812c2 (patch)
tree0732c8579599babf5d4bd3963129adebfe456a22 /lib/private/Collaboration
parent37e6488206d119ff99fbeab2fd77fe1f22d7ddee (diff)
downloadnextcloud-server-ba2b5427753c827ad34388ac26ed67f3b72812c2.tar.gz
nextcloud-server-ba2b5427753c827ad34388ac26ed67f3b72812c2.zip
Listen to IUser::postDelete
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r--lib/private/Collaboration/Resources/Listener.php2
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 */