jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/376013 )
Change subject: ContextMenu: Add hook to enable adding more items ...................................................................... ContextMenu: Add hook to enable adding more items * Changed hook position and removed a return statement which i see no * reason for Change-Id: I01afd723ed6c03863a198d476064508f5950613f ERM: #7409 --- M ContextMenu/includes/api/BSApiContextMenuTasks.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Robert Vogel: Looks good to me, approved jenkins-bot: Verified diff --git a/ContextMenu/includes/api/BSApiContextMenuTasks.php b/ContextMenu/includes/api/BSApiContextMenuTasks.php index c028a73..3fa76dd 100644 --- a/ContextMenu/includes/api/BSApiContextMenuTasks.php +++ b/ContextMenu/includes/api/BSApiContextMenuTasks.php @@ -47,9 +47,9 @@ if( $oTitle->getNamespace() === NS_FILE && $oTitle->exists() ) { $oFile = wfFindFile( $oTitle ); $this->makeFileItems( $aItems, $oTitle, $oFile ); - return $this->returnItems( $oResult, $aItems ); } + Hooks::run( 'BsContextMenuGetItems', array( &$aItems, $oTitle ) ); return $this->returnItems( $oResult, $aItems ); } -- To view, visit https://gerrit.wikimedia.org/r/376013 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I01afd723ed6c03863a198d476064508f5950613f Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: ItSpiderman <d.savulje...@gmail.com> Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com> Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz> Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits