Reedy has uploaded a new change for review. (
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GraphViz
refs/changes/94/396094/2
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: newchange
Gerrit-Change-Id: Iddf9179fae8b3562991219a52d3d4cb10e514dac
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/GraphViz
Gerrit-Branch: REL1_27
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits