diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-25 16:06:41 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-25 16:06:41 +0300 |
commit | 44f43bb21cb2e89d537fd80f16a73d498548edf4 (patch) | |
tree | 2810e05e0b0c0446cabf9e4a4d158ea880316eb3 /core/DataTable | |
parent | 1eb47806339a2870b779195b404e7a06044bacf8 (diff) |
Moving DataTable::getSiteIdFromMetadata to Piwik\Archie\DataTableFactory.
Diffstat (limited to 'core/DataTable')
-rw-r--r-- | core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php index accd8dbf01..100aa134ed 100644 --- a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php +++ b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php @@ -8,6 +8,7 @@ */ namespace Piwik\DataTable\Filter; +use Piwik\Archive\DataTableFactory; use Piwik\DataTable; use Piwik\DataTable\Row; use Piwik\Piwik; @@ -110,7 +111,7 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics sort($goals); } - $idSite = DataTable::getSiteIdFromMetadata($table); + $idSite = GoalSpecificRevenuePerVisit::getSiteIdFromMetadata($table); $extraProcessedMetrics = $table->getMetadata(DataTable::EXTRA_PROCESSED_METRICS_METADATA_NAME); |