Pwirth has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/288607

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/07/288607/1

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: newchange
Gerrit-Change-Id: I633dcb3e550206ddcd452ff69e34f882b87b7526
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>

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

Reply via email to