From 523572fcea39814794399aab46239e068ba54a22 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 22 Jun 2022 15:53:12 +0200 Subject: load widgets only of enabled apps - per design, all enabled apps have their registration run - limitations, e.g. enabled by group, are not considered in that state, because we do not have a session (and might need apps?) - before instantiation of widget it has to be checked whether the providing app is actually enabled for the logged in user. - a public interface is being changed, but it is not meant to be implemented or used outside of the core handling. Therefore save to backport. Signed-off-by: Arthur Schiwon --- lib/public/Dashboard/IManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public') diff --git a/lib/public/Dashboard/IManager.php b/lib/public/Dashboard/IManager.php index 396624876ef..d9e73c89eb9 100644 --- a/lib/public/Dashboard/IManager.php +++ b/lib/public/Dashboard/IManager.php @@ -36,7 +36,7 @@ interface IManager { * @param string $widgetClass * @since 20.0.0 */ - public function lazyRegisterWidget(string $widgetClass): void; + public function lazyRegisterWidget(string $widgetClass, string $appId): void; /** * @since 20.0.0 -- cgit v1.2.3