summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-26 09:20:14 +0100
committerGitHub <noreply@github.com>2019-11-26 09:20:14 +0100
commit7015501a740ec7d930b21752d99024c97c31ab4f (patch)
tree00e8b228e81650756335a35ed907ede688479049 /apps/user_ldap
parent0fab27f459d3276a2559cdee5693bfec8c2cf1c9 (diff)
parent97385cef334a1bfb3ace32007349af3ca1094c08 (diff)
downloadnextcloud-server-7015501a740ec7d930b21752d99024c97c31ab4f.tar.gz
nextcloud-server-7015501a740ec7d930b21752d99024c97c31ab4f.zip
Merge pull request #18005 from nextcloud/fix/manual-app-instances
Remove some more direct app instance creations
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
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);