summaryrefslogtreecommitdiffstats
path: root/lib/private/share20/manager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-04 11:13:06 +0100
committerBjörn Schießle <bjoern@schiessle.org>2016-02-08 11:30:48 +0100
commita506f9ca3f0d49a346e9950b078a273f30fbf0c0 (patch)
tree62c7035119cf3176156145300068dccac5f24781 /lib/private/share20/manager.php
parentbec1de8a385991f8ecc6837c672ea43a0e3dc8cf (diff)
downloadnextcloud-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.php7
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';
+ }
+
}