summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-09-25 06:24:08 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-09-25 13:35:12 +0200
commitf6cd7362cdd738b273f71b6e72156391f9a80361 (patch)
tree2b3f0f4679e42e67aa8310872ed577140b43297c /settings/users.php
parent57b2778053f46f8a2fd1f29d8634ffb7f109fcb6 (diff)
downloadnextcloud-server-f6cd7362cdd738b273f71b6e72156391f9a80361.tar.gz
nextcloud-server-f6cd7362cdd738b273f71b6e72156391f9a80361.zip
Save the settings in the user management page
Store the setting in the user managerment page (e.g. show e-mail address). Fixes #12727
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php
index 843995a57f9..e0ef56f15c5 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -99,4 +99,11 @@ $tmpl->assign('default_quota', $defaultQuota);
$tmpl->assign('defaultQuotaIsUserDefined', $defaultQuotaIsUserDefined);
$tmpl->assign('recoveryAdminEnabled', $recoveryAdminEnabled);
$tmpl->assign('enableAvatars', \OC::$server->getConfig()->getSystemValue('enable_avatars', true));
+
+$tmpl->assign('show_storage_location', $config->getAppValue('core', 'umgmt_show_storage_location', 'false'));
+$tmpl->assign('show_last_login', $config->getAppValue('core', 'umgmt_show_last_login', 'false'));
+$tmpl->assign('show_email', $config->getAppValue('core', 'umgmt_show_email', 'false'));
+$tmpl->assign('show_backend', $config->getAppValue('core', 'umgmt_show_backend', 'false'));
+$tmpl->assign('send_email', $config->getAppValue('core', 'umgmt_send_email', 'false'));
+
$tmpl->printPage();