summaryrefslogtreecommitdiffstats
path: root/apps/comments/appinfo
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-04 19:25:42 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-04 23:31:39 +0100
commit7ba5f39dbd96d72d4a8a7236cd146e546eb3b44b (patch)
treeff6f3ca29c3d79f6b8c6824c28c7213449773835 /apps/comments/appinfo
parent13960b69da2593dcfb0cbaef222ee8b9a33142c0 (diff)
downloadnextcloud-server-7ba5f39dbd96d72d4a8a7236cd146e546eb3b44b.tar.gz
nextcloud-server-7ba5f39dbd96d72d4a8a7236cd146e546eb3b44b.zip
Fix comments app init and LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/comments/appinfo')
-rw-r--r--apps/comments/appinfo/app.php3
1 files changed, 1 insertions, 2 deletions
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);