Skip to content
Snippets Groups Projects
Commit 67f0ff2e authored by Bruno Massa's avatar Bruno Massa
Browse files

Misc:

* Since the include file is done before calling the render function, it doesnt need to be on the .module file
parent 8c913542
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,6 @@ function _fusioncharts_chart(&$chart, &$data) {
* Array. The
*/
function _fusioncharts_charts_render(&$data) {
// Include the specific Google Chart API helper functions
include_once drupal_get_path('module', 'fusioncharts') .'/fusioncharts.inc';
// Convert the chat TYPE into the FusionCharts way.
// Since its a requirement to build the chart on Google, if the value
// was not found, return nothing and stop the execution.
......
......@@ -94,9 +94,6 @@ function _google_charts_data_codingsimple($value, $max) {
* Array. The
*/
function _google_charts_render(&$data) {
// Include the specific Google Chart API helper functions
include_once drupal_get_path('module', 'google_charts') .'/google_charts.inc';
$chart = array();
if ($message = _google_charts_chart($chart, $data)) {
return $message;
......
......@@ -30,9 +30,6 @@ function _openflashchart_chart(&$chart, &$data) {
* Array. The
*/
function _openflashchart_charts_render(&$data) {
// Include the specific Open Flash Chart helper functions
include_once drupal_get_path('module', 'openflashchart') .'/openflashchart.inc';
$chart = new open_flash_chart_api();
if ($error = _openflashchart_chart($chart, $data)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment