summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/Controller/SettingsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/lib/Controller/SettingsController.php')
-rw-r--r--apps/federation/lib/Controller/SettingsController.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/federation/lib/Controller/SettingsController.php b/apps/federation/lib/Controller/SettingsController.php
index 466f1c008a7..dedfd70731f 100644
--- a/apps/federation/lib/Controller/SettingsController.php
+++ b/apps/federation/lib/Controller/SettingsController.php
@@ -88,16 +88,6 @@ class SettingsController extends Controller {
}
/**
- * enable/disable to automatically add servers to the list of trusted servers
- * once a federated share was created and accepted successfully
- *
- * @param bool $autoAddServers
- */
- public function autoAddServers($autoAddServers) {
- $this->trustedServers->setAutoAddServers($autoAddServers);
- }
-
- /**
* check if the server should be added to the list of trusted servers or not
*
* @param string $url