Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/150061
Change subject: Removed scary and unused method
......................................................................
Removed scary and unused method
Change-Id: I293bdb8dee5ffc7190d06d3c06c878ec97557729
---
M FundraisingChart.body.php
1 file changed, 0 insertions(+), 15 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FundraisingChart
refs/changes/61/150061/1
diff --git a/FundraisingChart.body.php b/FundraisingChart.body.php
index c409342..933f79b 100644
--- a/FundraisingChart.body.php
+++ b/FundraisingChart.body.php
@@ -49,21 +49,6 @@
}
/**
- * Fetch the data to be displayed in the charts.
- *
- * @TODO: Unused?
- * @todo: make safer by mapping URIs to URLs
- * @param string $dataset (JSON URL)
- * @return string
- */
- static function frChartDataSetFetch( $dataset ){
- $raw_json = file_get_contents( $dataset );
- $d = json_decode( $raw_json );
-
- return json_encode( $d );
- }
-
- /**
* Display charts
*
* @param $input : the value between the opening and closing tags (does
not apply)
--
To view, visit https://gerrit.wikimedia.org/r/150061
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I293bdb8dee5ffc7190d06d3c06c878ec97557729
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/FundraisingChart
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits