update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
|
|
@ -9,13 +9,11 @@
|
|||
namespace Piwik\Plugins\VisitFrequency;
|
||||
|
||||
use Piwik\API\Request;
|
||||
use Piwik\Archive;
|
||||
use Piwik\DataTable;
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Common;
|
||||
use Piwik\Archive;
|
||||
use Piwik\SegmentExpression;
|
||||
use Piwik\SettingsPiwik;
|
||||
use Piwik\Plugins\VisitsSummary\API as APIVisitsSummary;
|
||||
use Piwik\Segment\SegmentExpression;
|
||||
|
||||
/**
|
||||
* VisitFrequency API lets you access a list of metrics related to Returning Visitors.
|
||||
|
|
@ -47,8 +45,9 @@ class API extends \Piwik\Plugin\API
|
|||
'segment' => $segment,
|
||||
'columns' => implode(',', $columns),
|
||||
'format' => 'original',
|
||||
'serialize' => 0 // tests set this to 1
|
||||
'format_metrics' => 0
|
||||
);
|
||||
|
||||
$table = Request::processRequest('VisitsSummary.get', $params);
|
||||
$this->prefixColumns($table, $period);
|
||||
return $table;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue