summaryrefslogtreecommitdiffstats
path: root/apps/files/index.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 /apps/files/index.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 'apps/files/index.php')
-rw-r--r--apps/files/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 4142a02b97e..fbc31ac6bbd 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -120,6 +120,7 @@ $tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']);
$tmpl->assign('isPublic', false);
$tmpl->assign("encryptedFiles", \OCP\Util::encryptedFiles());
$tmpl->assign("mailNotificationEnabled", $config->getAppValue('core', 'shareapi_allow_mail_notification', 'no'));
+$tmpl->assign("mailPublicNotificationEnabled", $config->getAppValue('core', 'shareapi_allow_public_notification', 'no'));
$tmpl->assign("allowShareWithLink", $config->getAppValue('core', 'shareapi_allow_links', 'yes'));
$tmpl->assign("encryptionInitStatus", $encryptionInitStatus);
$tmpl->assign('appNavigation', $nav);