summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-10 10:22:57 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-10 10:22:57 +0200
commitbc217cdf874238e9414810d5cd009d2d496e9ac5 (patch)
treeecaeb9fec3977ccfac4352edb64187f9c45c08d0 /lib/private
parentd25a96d9216d2d58b48c45dafed1bed39e5c3c13 (diff)
downloadnextcloud-server-bc217cdf874238e9414810d5cd009d2d496e9ac5.tar.gz
nextcloud-server-bc217cdf874238e9414810d5cd009d2d496e9ac5.zip
Also send the new account data with the event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Accounts/AccountManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php
index 3701421a20f..2eb518d4f04 100644
--- a/lib/private/Accounts/AccountManager.php
+++ b/lib/private/Accounts/AccountManager.php
@@ -94,7 +94,7 @@ class AccountManager {
if ($updated) {
$this->eventDispatcher->dispatch(
'OC\AccountManager::userUpdated',
- new GenericEvent($user)
+ new GenericEvent($user, $data)
);
}
}