Robert Vogel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/364390 )

Change subject: WigetBar deprecation: removed call to widgetbar hook
......................................................................

WigetBar deprecation: removed call to widgetbar hook

As WidgetBar was removed from BlueSpice, the hooks are no longer
triggered. So I removed the hook handler

Change-Id: I9775d05a8f8d1881f71fc597b3422ee7137c274c
---
M includes/skins/BsBaseTemplate.php
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation 
refs/changes/90/364390/1

diff --git a/includes/skins/BsBaseTemplate.php 
b/includes/skins/BsBaseTemplate.php
index bb04e8c..a4c8895 100644
--- a/includes/skins/BsBaseTemplate.php
+++ b/includes/skins/BsBaseTemplate.php
@@ -5,7 +5,6 @@
        function __construct() {
                parent::__construct();
                global $wgHooks;
-               $wgHooks['BSWidgetBarGetDefaultWidgets'][] = array($this, 
'onBSWidgetBarGetDefaultWidgets');
                $wgHooks['BSWidgetListHelperInitKeyWords'][] = array($this, 
'onBSWidgetListHelperInitKeyWords');
 
                $this->data['bs_search_input'] = array(
@@ -364,13 +363,6 @@
                        ->setTooltip($this->translator->translate('toolbox'));
 
                return $oWidgetView;
-       }
-
-       public function onBSWidgetBarGetDefaultWidgets( &$aViews, $oUser, 
$oTitle ) {
-               if ( !isset( $this->data['sidebar']['TOOLBOX'] ) ) {
-                       $aViews[] = $this->getToolBoxWidget();
-               }
-               return true;
        }
 
        public function onBSWidgetListHelperInitKeyWords( &$aKeywords, $oTitle 
) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9775d05a8f8d1881f71fc597b3422ee7137c274c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>

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

Reply via email to