jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/396094 )
Change subject: Fix undefined $out
......................................................................
Fix undefined $out
Change-Id: Iddf9179fae8b3562991219a52d3d4cb10e514dac
---
M GraphViz_body.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/GraphViz_body.php b/GraphViz_body.php
index c27134c..3e31d94 100644
--- a/GraphViz_body.php
+++ b/GraphViz_body.php
@@ -442,7 +442,7 @@
$title = $out->getTitle();
- self::uploadImagesForTitle( $title, $wgUser );
+ self::uploadImagesForTitle( $title, $wgUser, $out );
return true;
}
@@ -453,7 +453,7 @@
* @return int number of uploaded images
* @author Keith Welter
*/
- public static function uploadImagesForTitle( $title, $user ) {
+ public static function uploadImagesForTitle( $title, $user, $out ) {
// find any stored images for the page
$graphName = self::getGraphFileBaseNameFromTitle( $title );
$imageDir = self::getImageDir();
--
To view, visit https://gerrit.wikimedia.org/r/396094
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iddf9179fae8b3562991219a52d3d4cb10e514dac
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/GraphViz
Gerrit-Branch: REL1_27
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits