From bc217cdf874238e9414810d5cd009d2d496e9ac5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 10 Apr 2017 10:22:57 +0200 Subject: Also send the new account data with the event Signed-off-by: Joas Schilling --- lib/private/Accounts/AccountManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Accounts') 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) ); } } -- cgit v1.2.3