diff --git a/apps/files/index.php b/apps/files/index.php index ba46866ab19af11690d09d2a84faa2e2aaedca51..bc74e17aee131b9ea429c6d502646c154591477d 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -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); diff --git a/settings/admin.php b/settings/admin.php index fc76d3d74aba74b0c79b55916f6834d4e57b2f9e..d2be04fcd1d70c0e4718b8874c6da419f365d27b 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -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) { diff --git a/settings/templates/admin.php b/settings/templates/admin.php index c8ca031ec986dd93d09db44c07c04706a3b4fec1..8ed22e98b521bb4729688f5be67249bfde7bc090 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -291,8 +291,7 @@ if (!$_['internetconnectionworking']) { <td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>> <input type="checkbox" name="shareapi_allow_mail_notification" id="allowMailNotification" value="1" <?php if ($_['allowMailNotification'] === 'yes') print_unescaped('checked="checked"'); ?> /> - <label for="allowMailNotification"><?php p($l->t('Allow mail notification'));?></label><br/> - <em><?php p($l->t('Allow users to send mail notification for shared files')); ?></em> + <label for="allowMailNotification"><?php p($l->t('Allow users to send mail notification for shared files'));?></label><br/> </td> </tr> <tr>