aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-11-19 14:36:27 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-25 08:42:16 +0100
commit97385cef334a1bfb3ace32007349af3ca1094c08 (patch)
treeacecc50d894457347ef234b8f442b930a0225d6a /apps/admin_audit
parent3c17d1b5e2ebb737f7d6d05a73cef37efffcdd3d (diff)
downloadnextcloud-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/admin_audit')
-rw-r--r--apps/admin_audit/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/admin_audit/appinfo/app.php b/apps/admin_audit/appinfo/app.php
index 5cee5c3db70..85e19011e08 100644
--- a/apps/admin_audit/appinfo/app.php
+++ b/apps/admin_audit/appinfo/app.php
@@ -24,5 +24,5 @@ declare(strict_types=1);
*
*/
-$app = new \OCA\AdminAudit\AppInfo\Application();
+$app = \OC::$server->query(\OCA\AdminAudit\AppInfo\Application::class);
$app->register();