aboutsummaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-22 12:13:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-12-09 11:32:39 +0100
commit539c0aeb04f3210654972548f51f8cf61fce49ae (patch)
tree8af2eac1818cedf019ee41a5f7bfb19f5d8e4d1a /settings/admin.php
parentc36bac3abdd4b41620bdebbc3391612aac620fb8 (diff)
downloadnextcloud-server-539c0aeb04f3210654972548f51f8cf61fce49ae.tar.gz
nextcloud-server-539c0aeb04f3210654972548f51f8cf61fce49ae.zip
Add an option to disallow sending sharing emails to non-owncloud users
Fix #10836
Diffstat (limited to 'settings/admin.php')
-rw-r--r--settings/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index bb5f47b36a9..56484f25b26 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -66,6 +66,7 @@ $template->assign('allowLinks', $appConfig->getValue('core', 'shareapi_allow_lin
$template->assign('enforceLinkPassword', \OCP\Util::isPublicLinkPasswordRequired());
$template->assign('allowPublicUpload', $appConfig->getValue('core', 'shareapi_allow_public_upload', 'yes'));
$template->assign('allowResharing', $appConfig->getValue('core', 'shareapi_allow_resharing', 'yes'));
+$template->assign('allowPublicMailNotification', $appConfig->getValue('core', 'shareapi_allow_public_notification', 'no'));
$template->assign('allowMailNotification', $appConfig->getValue('core', 'shareapi_allow_mail_notification', 'no'));
$template->assign('onlyShareWithGroupMembers', \OC\Share\Share::shareWithGroupMembersOnly());
$databaseOverload = (strpos(\OCP\Config::getSystemValue('dbtype'), 'sqlite') !== false);