diff options
author | sgiehl <stefan@piwik.org> | 2016-11-01 00:10:14 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-11-01 01:38:23 +0300 |
commit | 6102454146b673a16ab7f45de391e8f1ae8a096e (patch) | |
tree | 579b2a826acecd0a4fd10d5cd0b10b4e06703bf1 /plugins/Contents | |
parent | 473c770898231f5f41048f0010ca616034877809 (diff) |
Removes deprecated method Archive::getDataTableFromArchive
Diffstat (limited to 'plugins/Contents')
-rw-r--r-- | plugins/Contents/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Contents/API.php b/plugins/Contents/API.php index 574a24e9a3..926da47241 100644 --- a/plugins/Contents/API.php +++ b/plugins/Contents/API.php @@ -36,7 +36,7 @@ class API extends \Piwik\Plugin\API { Piwik::checkUserHasViewAccess($idSite); $recordName = Dimensions::getRecordNameForAction($name); - $dataTable = Archive::getDataTableFromArchive($recordName, $idSite, $period, $date, $segment, $expanded, $idSubtable); + $dataTable = Archive::createDataTableFromArchive($recordName, $idSite, $period, $date, $segment, $expanded, $flat=false, $idSubtable); if (empty($idSubtable)) { $dataTable->filter('AddSegmentValue', array(function ($label) { |