From 6af9af9e2a7a59db4618af74010fa5fef697df05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 24 Aug 2020 14:40:15 +0200 Subject: [PATCH] Remove invalid addScript call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/AppInfo/Application.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 3bf9f3e6f..d4fd3a7a9 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -93,7 +93,6 @@ class Application extends App { /** @var IEventDispatcher $dispatcher */ $dispatcher = $container->getServer()->query(IEventDispatcher::class); $dispatcher->addListener(RegisterWidgetEvent::class, function (RegisterWidgetEvent $event) use ($container) { - \OCP\Util::addScript('myapp', 'dashboard'); $event->registerWidget(DeckWidget::class); }); }