diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-19 14:36:27 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-25 08:42:16 +0100 |
commit | 97385cef334a1bfb3ace32007349af3ca1094c08 (patch) | |
tree | acecc50d894457347ef234b8f442b930a0225d6a /apps/user_ldap/appinfo | |
parent | 3c17d1b5e2ebb737f7d6d05a73cef37efffcdd3d (diff) | |
download | nextcloud-server-97385cef334a1bfb3ace32007349af3ca1094c08.tar.gz nextcloud-server-97385cef334a1bfb3ace32007349af3ca1094c08.zip |
Remove some more direct app instance creations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r-- | apps/user_ldap/appinfo/app.php | 2 |
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); |