diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-17 17:55:46 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-22 00:00:33 +0200 |
commit | c482512e23c2411244492b3b29ba6a6f6923c504 (patch) | |
tree | 81beca801a66b565e24aebb462e3d5dc2f1a67bc /apps | |
parent | a89199cc7bd19f6ba3e76fcd510219b2bd930ae6 (diff) | |
download | nextcloud-server-c482512e23c2411244492b3b29ba6a6f6923c504.tar.gz nextcloud-server-c482512e23c2411244492b3b29ba6a6f6923c504.zip |
LDAP: fix wrong hook name
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/jobs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/jobs.php b/apps/user_ldap/lib/jobs.php index d626afed6c3..6b7666d4ca1 100644 --- a/apps/user_ldap/lib/jobs.php +++ b/apps/user_ldap/lib/jobs.php @@ -82,7 +82,7 @@ class Jobs extends \OC\BackgroundJob\TimedJob { $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); |