diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-04-26 15:52:06 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-04-26 19:47:55 +0200 |
commit | 71e05b1fd3a41644037c24925aca5c83de39cf14 (patch) | |
tree | b4724a22000bd58557b68f2c1c04c4ab32ddd1df /apps/federation/lib/Controller | |
parent | aa651fd629534e96432492c1a74e979b28222ce2 (diff) | |
download | nextcloud-server-71e05b1fd3a41644037c24925aca5c83de39cf14.tar.gz nextcloud-server-71e05b1fd3a41644037c24925aca5c83de39cf14.zip |
No longer add trusted servers on federated share creation
It was disabled by default for ages. And often resulted in unwanted
behavior. If admins want trusted servers they just have to do it
manually.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/federation/lib/Controller')
-rw-r--r-- | apps/federation/lib/Controller/SettingsController.php | 10 |
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 |