diff options
author | Joas Schilling <coding@schilljs.com> | 2021-04-27 08:13:47 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-04-27 08:13:47 +0200 |
commit | 1029abc8f6e6935680303ffdb57c9c6fb11c4039 (patch) | |
tree | f3913b7b7ad6624804d523f32545ffd08dff76c4 /apps/federation/lib/TrustedServers.php | |
parent | 3f0b7fd289bf6fd9a9200c63160d1133618b2583 (diff) | |
download | nextcloud-server-1029abc8f6e6935680303ffdb57c9c6fb11c4039.tar.gz nextcloud-server-1029abc8f6e6935680303ffdb57c9c6fb11c4039.zip |
More cleaning after auto-add removal
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federation/lib/TrustedServers.php')
-rw-r--r-- | apps/federation/lib/TrustedServers.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/federation/lib/TrustedServers.php b/apps/federation/lib/TrustedServers.php index 92454e03a55..29b58555238 100644 --- a/apps/federation/lib/TrustedServers.php +++ b/apps/federation/lib/TrustedServers.php @@ -131,28 +131,6 @@ class TrustedServers { } /** - * enable/disable to automatically add servers to the list of trusted servers - * once a federated share was created and accepted successfully - * - * @param bool $status - */ - public function setAutoAddServers($status) { - $value = $status ? '1' : '0'; - $this->config->setAppValue('federation', 'autoAddServers', $value); - } - - /** - * return if we automatically add servers to the list of trusted servers - * once a federated share was created and accepted successfully - * - * @return bool - */ - public function getAutoAddServers() { - $value = $this->config->getAppValue('federation', 'autoAddServers', '0'); - return $value === '1'; - } - - /** * get shared secret for the given server * * @param string $url |