aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-08-17 17:55:46 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-08-17 17:55:46 +0200
commit108bb4101fcbbfecc6693a3d6411a640f883c344 (patch)
tree3d2736743bc5ba316764321ecfc9625cf3663957
parent1c24936ae2956df7e08191df11f50ee5eb82ad43 (diff)
downloadnextcloud-server-108bb4101fcbbfecc6693a3d6411a640f883c344.tar.gz
nextcloud-server-108bb4101fcbbfecc6693a3d6411a640f883c344.zip
LDAP: fix wrong hook name
-rw-r--r--apps/user_ldap/lib/jobs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/jobs.php b/apps/user_ldap/lib/jobs.php
index 2fa13991a91..118ae583671 100644
--- a/apps/user_ldap/lib/jobs.php
+++ b/apps/user_ldap/lib/jobs.php
@@ -83,7 +83,7 @@ class Jobs {
$hasChanged = true;
}
foreach(array_diff($actualUsers, $knownUsers) as $addedUser) {
- \OCP\Util::emitHook('OC_User', 'post_addFromGroup', array('uid' => $addedUser, 'gid' => $group));
+ \OCP\Util::emitHook('OC_User', 'post_addToGroup', array('uid' => $addedUser, 'gid' => $group));
\OCP\Util::writeLog('user_ldap',
'bgJ "updateGroups" – "'.$addedUser.'" added to "'.$group.'".',
\OCP\Util::INFO);