From 97385cef334a1bfb3ace32007349af3ca1094c08 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 19 Nov 2019 14:36:27 +0100 Subject: Remove some more direct app instance creations Signed-off-by: Christoph Wurst --- apps/user_ldap/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap/appinfo') diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index c6e1208e6ea..06fb273f060 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -34,7 +34,7 @@ return new OCA\User_LDAP\GroupPluginManager(); }); -$app = new \OCA\User_LDAP\AppInfo\Application(); +$app = \OC::$server->query(\OCA\User_LDAP\AppInfo\Application::class); $helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig()); $configPrefixes = $helper->getServerConfigurationPrefixes(true); -- cgit v1.2.3