summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-rw-r--r--apps/user_ldap/lib/Access.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index c9a7cd557a1..198fb478fed 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -609,7 +609,7 @@ class Access extends LDAPUtility implements IUserTools {
|| (!$isUser && !\OC::$server->getGroupManager()->groupExists($intName))) {
if($mapper->map($fdn, $intName, $uuid)) {
$this->connection->setConfiguration(array('ldapCacheTTL' => $originalTTL));
- \OC::$server->getUserManager()->emit('\OC\User', 'announceUser', [$intName]);
+ \OC::$server->getUserManager()->emit('\OC\User', 'assignedUserId', [$intName]);
$newlyMapped = true;
return $intName;
}
@@ -618,7 +618,7 @@ class Access extends LDAPUtility implements IUserTools {
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
if(is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
- \OC::$server->getUserManager()->emit('\OC\User', 'announceUser', [$intName]);
+ \OC::$server->getUserManager()->emit('\OC\User', 'assignedUserId', [$intName]);
$newlyMapped = true;
return $altName;
}