diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-01 14:04:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-09 19:23:04 +0200 |
commit | 4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18 (patch) | |
tree | edc83a0cb3ea74137df13008b0d3fdeabb85dbef /lib/private/Setup.php | |
parent | 0dee717c94468afeb139d9e8d9322b5fd26974b6 (diff) | |
download | nextcloud-server-4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18.tar.gz nextcloud-server-4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18.zip |
enable the user to set a primary (notification) email address (backend)
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index a4873e63aa9..c24d417f8cf 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -439,7 +439,7 @@ class Setup { // Set email for admin if (!empty($options['adminemail'])) { - $config->setUserValue($user->getUID(), 'settings', 'email', $options['adminemail']); + $user->setSystemEMailAddress($options['adminemail']); } } |