Tweichart has uploaded a new change for review.
https://gerrit.wikimedia.org/r/202687
Change subject: small change for hook result
......................................................................
small change for hook result
* needs cherry pick to REL1_23
Change-Id: Ibf9493d839269c9478a1058a0b286b72369ac43b
---
M TopMenuBarCustomizer/TopMenuBarCustomizer.class.php
1 file changed, 4 insertions(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions
refs/changes/87/202687/1
diff --git a/TopMenuBarCustomizer/TopMenuBarCustomizer.class.php
b/TopMenuBarCustomizer/TopMenuBarCustomizer.class.php
index 2c20300..63c5d32 100644
--- a/TopMenuBarCustomizer/TopMenuBarCustomizer.class.php
+++ b/TopMenuBarCustomizer/TopMenuBarCustomizer.class.php
@@ -194,7 +194,10 @@
return true;
}
- wfRunHooks('BSTopMenuBarCustomizerBeforeRenderNavigationSites',
array( &$aNavigationSites ));
+ $bResult =
wfRunHooks('BSTopMenuBarCustomizerBeforeRenderNavigationSites', array(
&$aNavigationSites ));
+ if ($bResult === false){
+ return true;
+ }
$aOut= array();
$aOut[] = HTML::openElement( 'ul' );
--
To view, visit https://gerrit.wikimedia.org/r/202687
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf9493d839269c9478a1058a0b286b72369ac43b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Tweichart <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits