diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-13 12:34:34 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-13 12:34:34 +0200 |
commit | 786258ff30eeb6cffb24b5b1a81f0c502d763620 (patch) | |
tree | a0d2f69ee2ecb2bdad4bdd8065ddec9449f982dc /settings/Application.php | |
parent | 1110b51aa3c7627855d775e6122cb27553118944 (diff) | |
download | nextcloud-server-786258ff30eeb6cffb24b5b1a81f0c502d763620.tar.gz nextcloud-server-786258ff30eeb6cffb24b5b1a81f0c502d763620.zip |
Send an email to the old address on email change
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/Application.php')
-rw-r--r-- | settings/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Application.php b/settings/Application.php index c54c8928b51..52661c5bae2 100644 --- a/settings/Application.php +++ b/settings/Application.php @@ -168,6 +168,6 @@ class Application extends App { /** @var Hooks $hooks */ $hooks = $this->getContainer()->query(Hooks::class); - $hooks->onChangeEmail($parameters['user']); + $hooks->onChangeEmail($parameters['user'], $parameters['old_value']); } } |