diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-04 11:13:06 +0100 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2016-02-08 11:30:48 +0100 |
commit | a506f9ca3f0d49a346e9950b078a273f30fbf0c0 (patch) | |
tree | 62c7035119cf3176156145300068dccac5f24781 /lib/private/share20/manager.php | |
parent | bec1de8a385991f8ecc6837c672ea43a0e3dc8cf (diff) | |
download | nextcloud-server-a506f9ca3f0d49a346e9950b078a273f30fbf0c0.tar.gz nextcloud-server-a506f9ca3f0d49a346e9950b078a273f30fbf0c0.zip |
Respect not allowing outgoing shares
Diffstat (limited to 'lib/private/share20/manager.php')
-rw-r--r-- | lib/private/share20/manager.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/share20/manager.php b/lib/private/share20/manager.php index c3c739e4874..7cd44a7cb37 100644 --- a/lib/private/share20/manager.php +++ b/lib/private/share20/manager.php @@ -1072,4 +1072,11 @@ class Manager implements IManager { return false; } + /** + * @inheritdoc + */ + public function outgoingServer2ServerSharesAllowed() { + return $this->config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') === 'yes'; + } + } |