summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax/clearMappings.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-03-19 15:23:30 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-05 12:46:15 +0200
commit373a1d53918db011ca36351ad8e5240567ad999c (patch)
tree99277022939c8af14f31c9d35034fe2a9565fd5f /apps/user_ldap/ajax/clearMappings.php
parent2ebf26e4447c6c5eef41be35ee4487c78ffe8231 (diff)
downloadnextcloud-server-373a1d53918db011ca36351ad8e5240567ad999c.tar.gz
nextcloud-server-373a1d53918db011ca36351ad8e5240567ad999c.zip
more consistent naming
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/ajax/clearMappings.php')
-rw-r--r--apps/user_ldap/ajax/clearMappings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/ajax/clearMappings.php b/apps/user_ldap/ajax/clearMappings.php
index 009a491d349..8e2d63e3eb2 100644
--- a/apps/user_ldap/ajax/clearMappings.php
+++ b/apps/user_ldap/ajax/clearMappings.php
@@ -38,10 +38,10 @@ try {
$mapping = new UserMapping(\OC::$server->getDatabaseConnection());
$result = $mapping->clearCb(
function ($uid) {
- \OC::$server->getUserManager()->emit('\OC\User', 'preRevokeUser', [$uid]);
+ \OC::$server->getUserManager()->emit('\OC\User', 'preUnassignedUserId', [$uid]);
},
function ($uid) {
- \OC::$server->getUserManager()->emit('\OC\User', 'postRevokeUser', [$uid]);
+ \OC::$server->getUserManager()->emit('\OC\User', 'postUnassignedUserId', [$uid]);
}
);
} else if($subject === 'group') {