|
@@ 949-955 (lines=7) @@
|
| 946 |
|
* |
| 947 |
|
* @return bool |
| 948 |
|
*/ |
| 949 |
|
public function isOutgoingServer2serverShareEnabled() { |
| 950 |
|
if ($this->gsConfig->onlyInternalFederation()) { |
| 951 |
|
return false; |
| 952 |
|
} |
| 953 |
|
$result = $this->config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes'); |
| 954 |
|
return ($result === 'yes'); |
| 955 |
|
} |
| 956 |
|
|
| 957 |
|
/** |
| 958 |
|
* check if users are allowed to mount public links from other Nextclouds |
|
@@ 962-968 (lines=7) @@
|
| 959 |
|
* |
| 960 |
|
* @return bool |
| 961 |
|
*/ |
| 962 |
|
public function isIncomingServer2serverShareEnabled() { |
| 963 |
|
if ($this->gsConfig->onlyInternalFederation()) { |
| 964 |
|
return false; |
| 965 |
|
} |
| 966 |
|
$result = $this->config->getAppValue('files_sharing', 'incoming_server2server_share_enabled', 'yes'); |
| 967 |
|
return ($result === 'yes'); |
| 968 |
|
} |
| 969 |
|
|
| 970 |
|
/** |
| 971 |
|
* Check if querying sharees on the lookup server is enabled |