summaryrefslogtreecommitdiffstats
path: root/settings/Application.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-13 12:34:34 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-13 12:34:34 +0200
commit786258ff30eeb6cffb24b5b1a81f0c502d763620 (patch)
treea0d2f69ee2ecb2bdad4bdd8065ddec9449f982dc /settings/Application.php
parent1110b51aa3c7627855d775e6122cb27553118944 (diff)
downloadnextcloud-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.php2
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']);
}
}