diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-02 11:37:25 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-02 18:30:38 +0100 |
commit | f556c58c22405945263bc6debfa6a424e2c601cb (patch) | |
tree | 648f879e3f46214bd8e0c36f9d8b7b0971d9cbdb /apps/files_sharing/lib/Capabilities.php | |
parent | 7da3ba3f91f561da664fc601b29cd7948f876f3f (diff) | |
download | nextcloud-server-f556c58c22405945263bc6debfa6a424e2c601cb.tar.gz nextcloud-server-f556c58c22405945263bc6debfa6a424e2c601cb.zip |
remove 'send mail notification' option from sharing, replaced by send-by-mail feature
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing/lib/Capabilities.php')
-rw-r--r-- | apps/files_sharing/lib/Capabilities.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index 9da6dbbc995..bfbd15c1122 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -73,10 +73,10 @@ class Capabilities implements ICapability { } $res["public"] = $public; - $res['user']['send_mail'] = $this->config->getAppValue('core', 'shareapi_allow_mail_notification', 'no') === 'yes'; - $res['resharing'] = $this->config->getAppValue('core', 'shareapi_allow_resharing', 'yes') === 'yes'; + $res['user']['send_mail'] = false; + $res['group_sharing'] = $this->config->getAppValue('core', 'shareapi_allow_group_sharing', 'yes') === 'yes'; } |