]> source.dussan.org Git - nextcloud-server.git/commitdiff
set "allow users to send mail notification for shared files default" setting to ...
authorBjoern Schiessle <schiessle@owncloud.com>
Tue, 3 Jun 2014 09:29:28 +0000 (11:29 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Tue, 3 Jun 2014 09:29:28 +0000 (11:29 +0200)
apps/files/index.php
settings/admin.php

index ba46866ab19af11690d09d2a84faa2e2aaedca51..bc74e17aee131b9ea429c6d502646c154591477d 100644 (file)
@@ -118,7 +118,7 @@ $tmpl = new OCP\Template('files', 'index', 'user');
 $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', 'yes'));
+$tmpl->assign("mailNotificationEnabled", $config->getAppValue('core', 'shareapi_allow_mail_notification', 'no'));
 $tmpl->assign("allowShareWithLink", $config->getAppValue('core', 'shareapi_allow_links', 'yes'));
 $tmpl->assign("encryptionInitStatus", $encryptionInitStatus);
 $tmpl->assign('appNavigation', $nav);
index a0769892ef44d553b9368ab65dc520c9f913918b..7b722661302bdfbee54023e1c78ec841b7da86d3 100755 (executable)
@@ -82,7 +82,7 @@ $tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links
 $tmpl->assign('enforceLinkPassword', \OCP\Util::isPublicLinkPasswordRequired());
 $tmpl->assign('allowPublicUpload', OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes'));
 $tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes'));
-$tmpl->assign('allowMailNotification', OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'yes'));
+$tmpl->assign('allowMailNotification', OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'no'));
 $tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global'));
 $tmpl->assign('forms', array());
 foreach($forms as $form) {