diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-13 14:00:44 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-13 14:02:09 +0200 |
commit | 9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61 (patch) | |
tree | 18f6190e10ed5480bd3f3a0c08be84825abe6f9e /apps/files_sharing/lib/Capabilities.php | |
parent | 4da01eeef642ebd48c9c8974e17e08db3de70687 (diff) | |
download | nextcloud-server-9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61.tar.gz nextcloud-server-9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61.zip |
Add files drop capability for clients
Diffstat (limited to 'apps/files_sharing/lib/Capabilities.php')
-rw-r--r-- | apps/files_sharing/lib/Capabilities.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index 8dde2dafb0d..9da6dbbc995 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -69,6 +69,7 @@ class Capabilities implements ICapability { $public['send_mail'] = $this->config->getAppValue('core', 'shareapi_allow_public_notification', 'no') === 'yes'; $public['upload'] = $this->config->getAppValue('core', 'shareapi_allow_public_upload', 'yes') === 'yes'; + $public['upload_files_drop'] = $public['upload']; } $res["public"] = $public; |