diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-10-26 11:27:43 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-01 19:54:41 +0100 |
commit | 561dd80d576ab87947e49b080dd5eb5d2c0a0ee9 (patch) | |
tree | f68bbecda1c5cde23ae43907c839d4622efb3f1d /apps | |
parent | 31c8c38bd62af35c1578a8342b05580a9bd67466 (diff) | |
download | nextcloud-server-561dd80d576ab87947e49b080dd5eb5d2c0a0ee9.tar.gz nextcloud-server-561dd80d576ab87947e49b080dd5eb5d2c0a0ee9.zip |
don't show 'notify by mail' option or permissions not available for mail shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 3 | ||||
-rw-r--r-- | apps/sharebymail/templates/altmail.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 186f314a1c8..ae8165602a6 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -432,7 +432,8 @@ class ShareAPIController extends OCSController { $share->setPermissions( \OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_CREATE | - \OCP\Constants::PERMISSION_UPDATE); + \OCP\Constants::PERMISSION_UPDATE | + \OCP\Constants::PERMISSION_DELETE); } $share->setSharedWith($shareWith); } else { diff --git a/apps/sharebymail/templates/altmail.php b/apps/sharebymail/templates/altmail.php index 02d262d7229..7b9de6295ff 100644 --- a/apps/sharebymail/templates/altmail.php +++ b/apps/sharebymail/templates/altmail.php @@ -31,6 +31,6 @@ p($l->t("Cheers!")); print_unescaped("\n"); ?> --- +-- <?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?> <?php print_unescaped("\n".$theme->getBaseUrl()); |