From 7ba5f39dbd96d72d4a8a7236cd146e546eb3b44b Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Mon, 4 Nov 2019 19:25:42 +0100 Subject: Fix comments app init and LoadSidebar event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/comments/appinfo/app.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/comments/appinfo') diff --git a/apps/comments/appinfo/app.php b/apps/comments/appinfo/app.php index 6d6775dd152..491b4f76480 100644 --- a/apps/comments/appinfo/app.php +++ b/apps/comments/appinfo/app.php @@ -21,5 +21,4 @@ * */ -$application = new \OCA\Comments\AppInfo\Application(); -$application->register(); +\OC::$server->query(\OCA\Comments\AppInfo\Application::class); -- cgit v1.2.3