summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-08-30 13:53:49 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-30 13:53:49 +0200
commit77adaee6457c3e17d0f0b32c74da4cdbfce60164 (patch)
treefc793d2965d0a9541a183f620a63dae3ea2bfb0b /apps/files/index.php
parent0a23ac18bc1f74cea98eed2c37aa03c99fd957f7 (diff)
downloadnextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.tar.gz
nextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.zip
enable user to inform recipients about a shared file by mail
Diffstat (limited to 'apps/files/index.php')
-rw-r--r--apps/files/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index e4d8e353858..7f5f9ec4741 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -131,7 +131,7 @@ if ($needUpgrade) {
if ($trashEnabled) {
$trashEmpty = \OCA\Files_Trashbin\Trashbin::isEmpty($user);
}
-
+
OCP\Util::addscript('files', 'fileactions');
OCP\Util::addscript('files', 'files');
OCP\Util::addscript('files', 'keyboardshortcuts');
@@ -151,5 +151,6 @@ if ($needUpgrade) {
$tmpl->assign('isPublic', false);
$tmpl->assign('publicUploadEnabled', $publicUploadEnabled);
$tmpl->assign("encryptedFiles", \OCP\Util::encryptedFiles());
+ $tmpl->assign("mailNotificationEnabled", \OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'yes'));
$tmpl->printPage();
}