jenkins-bot has submitted this change and it was merged.

Change subject: BsDashboards: Fixed Notice
......................................................................


BsDashboards: Fixed Notice

Removed unnecessary
"Dashboards::onBSDashboardsUserDashboardPortalPortlets" add to $wgHooks
global. This caused the notive, that this method should not be called
stacically. Also the hookhandler is already added with $this->setHook() in
Dashboards::initExt()

Change-Id: I633dcb3e550206ddcd452ff69e34f882b87b7526
---
M Dashboards/Dashboards.setup.php
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Mglaser: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Dashboards/Dashboards.setup.php b/Dashboards/Dashboards.setup.php
index 15869e1..d210ff1 100644
--- a/Dashboards/Dashboards.setup.php
+++ b/Dashboards/Dashboards.setup.php
@@ -23,7 +23,6 @@
 $wgAPIModules['bs-dashboards-widgets-tasks'] = 'BSApiDashboardWidgetsTasks';
 
 $wgHooks['LoadExtensionSchemaUpdates'][] = 'Dashboards::getSchemaUpdates';
-$wgHooks['BSDashboardsUserDashboardPortalPortlets'][] = 
'Dashboards::onBSDashboardsUserDashboardPortalPortlets';
 
 $aResourceModuleTemplate = array(
        'localBasePath' => 
$IP.'/extensions/BlueSpiceExtensions/Dashboards/resources',

-- 
To view, visit https://gerrit.wikimedia.org/r/288607
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I633dcb3e550206ddcd452ff69e34f882b87b7526
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to