diff options
Diffstat (limited to 'core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php')
-rw-r--r-- | core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php b/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php index 78b990e62b..fae0235bfb 100644 --- a/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php +++ b/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php @@ -38,34 +38,17 @@ class Piwik_ViewDataTable_GenerateGraphHTML_ChartEvolution extends Piwik_ViewDat function init($currentControllerName, $currentControllerAction, - $apiMethodToRequestDataTable, - $controllerActionCalledWhenRequestSubTable = null) + $apiMethodToRequestDataTable ) { parent::init($currentControllerName, $currentControllerAction, - $apiMethodToRequestDataTable, - $controllerActionCalledWhenRequestSubTable); + $apiMethodToRequestDataTable ); $this->setParametersToModify(array('date' => Piwik_Common::getRequestVar('date', 'last30', 'string'))); $this->disableShowAllViewsIcons(); $this->disableShowTable(); } - - /** - * We ensure that the graph for a given Goal has a different ID than the 'Goals Overview' graph - * so that both can display on the dashboard at the same time - */ - public function getUniqueIdViewDataTable() - { - $id = parent::getUniqueIdViewDataTable(); - if(isset($this->parametersToModify['idGoal'])) - { - $id .= $this->parametersToModify['idGoal']; - } - return $id; - } - /** * Sets the columns that will be displayed on output evolution chart * By default all columns are displayed ($columnsNames = array() will display all columns) |