aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2016-02-26 16:59:53 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2016-02-29 16:50:33 +0100
commit7189c72c33a03d57473f7e3443193d07bece7c15 (patch)
tree8b61c06e4006f2426037e92d1d65008d6976022c /apps/federation/settings
parenteccd7cf6548e1ea639aea48cbf7e52e95dc98c11 (diff)
downloadnextcloud-server-7189c72c33a03d57473f7e3443193d07bece7c15.tar.gz
nextcloud-server-7189c72c33a03d57473f7e3443193d07bece7c15.zip
remove remote address book if the admin removes the server from the trusted servers list
Diffstat (limited to 'apps/federation/settings')
-rw-r--r--apps/federation/settings/settings-admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federation/settings/settings-admin.php b/apps/federation/settings/settings-admin.php
index 8c6bfe6bbbb..a41d815feb8 100644
--- a/apps/federation/settings/settings-admin.php
+++ b/apps/federation/settings/settings-admin.php
@@ -34,7 +34,8 @@ $trustedServers = new \OCA\Federation\TrustedServers(
\OC::$server->getLogger(),
\OC::$server->getJobList(),
\OC::$server->getSecureRandom(),
- \OC::$server->getConfig()
+ \OC::$server->getConfig(),
+ \OC::$server->getEventDispatcher()
);
$template->assign('trustedServers', $trustedServers->getServers());