jenkins-bot has submitted this change and it was merged.
Change subject: UEModulePDF: Fixed hook parameters
......................................................................
UEModulePDF: Fixed hook parameters
Made some parameters to be passed as reference. Otherwise this hook does
not make much sense.
Needs merge to REL1_23
Change-Id: Iceb6dc7b39faa2730ca12ae82b674309af2aae5b
---
M UEModulePDF/includes/PDFServlet.class.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Robert Vogel: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UEModulePDF/includes/PDFServlet.class.php
b/UEModulePDF/includes/PDFServlet.class.php
index 0d09868..19e040d 100644
--- a/UEModulePDF/includes/PDFServlet.class.php
+++ b/UEModulePDF/includes/PDFServlet.class.php
@@ -224,8 +224,8 @@
// TODO RBV (05.04.12 11:48): Check if urlencode has
side effects
$oImageElement->setAttribute( 'src',
'images/'.urlencode($sSrcFilename) );
$sFileName = $sSrcFilename;
- wfRunHooks( 'BSUEModulePDFFindFiles', array( $this,
$oImageElement, $sAbsoluteFileSystemPath, $sFileName, 'images' ) );
- wfRunHooks( 'BSUEModulePDFWebserviceFindFiles', array(
$this, $oImageElement, $sAbsoluteFileSystemPath, $sFileName, 'images' ) );
+ wfRunHooks( 'BSUEModulePDFFindFiles', array( $this,
$oImageElement, &$sAbsoluteFileSystemPath, &$sFileName, 'images' ) );
+ wfRunHooks( 'BSUEModulePDFWebserviceFindFiles', array(
$this, $oImageElement, &$sAbsoluteFileSystemPath, &$sFileName, 'images' ) );
$this->aFiles['images'][$sFileName] =
$sAbsoluteFileSystemPath;
}
--
To view, visit https://gerrit.wikimedia.org/r/230731
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iceb6dc7b39faa2730ca12ae82b674309af2aae5b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: Tweichart <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits