diff --git a/apps/settings/appinfo/info.xml b/apps/settings/appinfo/info.xml
index d77d8690b4..f2325c3afc 100644
--- a/apps/settings/appinfo/info.xml
+++ b/apps/settings/appinfo/info.xml
@@ -34,4 +34,21 @@
OCA\Settings\Sections\Personal\Security
OCA\Settings\Sections\Personal\SyncClients
+
+
+
+ OCA\Settings\Activity\GroupSetting
+ OCA\Settings\Activity\SecuritySetting
+ OCA\Settings\Activity\Setting
+
+
+ OCA\Settings\Activity\SecurityFilter
+
+
+ OCA\Settings\Activity\GroupProvider
+ OCA\Settings\Activity\Provider
+ OCA\Settings\Activity\SecurityProvider
+
+
+
diff --git a/apps/settings/lib/AppInfo/Application.php b/apps/settings/lib/AppInfo/Application.php
index 4f7cbf6b1e..4d837500c4 100644
--- a/apps/settings/lib/AppInfo/Application.php
+++ b/apps/settings/lib/AppInfo/Application.php
@@ -149,15 +149,6 @@ class Application extends App {
}
public function register() {
- $activityManager = $this->getContainer()->getServer()->getActivityManager();
- $activityManager->registerSetting(Setting::class); // FIXME move to info.xml
- $activityManager->registerProvider(Provider::class); // FIXME move to info.xml
- $activityManager->registerFilter(SecurityFilter::class); // FIXME move to info.xml
- $activityManager->registerSetting(SecuritySetting::class); // FIXME move to info.xml
- $activityManager->registerProvider(SecurityProvider::class); // FIXME move to info.xml
- $activityManager->registerSetting(GroupSetting::class); // FIXME move to info.xml
- $activityManager->registerProvider(GroupProvider::class); // FIXME move to info.xml
-
Util::connectHook('OC_User', 'post_setPassword', $this, 'onChangePassword');
Util::connectHook('OC_User', 'changeUser', $this, 'onChangeInfo');