Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-07-12 05:31:29 +0300
committerGitHub <noreply@github.com>2019-07-12 05:31:29 +0300
commit12b4e850e15aaeb8e30cb0853775e2c9273b0cfd (patch)
tree8ebc0d2989bb58d42f8e81216601467de4d32297 /plugins/VisitorInterest
parent2eaa4034a79ae0b08f8444c0d867e9ba17b93517 (diff)
Small archiving refactors for GA import (#14606)
* start adding new goal type * Add new goal type to UI + tracker + add tests. * Cache pageview count query result. * Apply pr feedback * remove debugging code * remove unused code * Move method to ArchivingHelper so it can be used elsewhere. * unneeded return * Couple more changes * Update customdimensions submodule. * update submodule * fix failing test
Diffstat (limited to 'plugins/VisitorInterest')
-rw-r--r--plugins/VisitorInterest/Archiver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VisitorInterest/Archiver.php b/plugins/VisitorInterest/Archiver.php
index 91c16ff5ba..09a77e2e44 100644
--- a/plugins/VisitorInterest/Archiver.php
+++ b/plugins/VisitorInterest/Archiver.php
@@ -48,7 +48,7 @@ class Archiver extends \Piwik\Plugin\Archiver
/**
* The set of ranges used when calculating the 'visitors who visited at least N times' report.
*/
- protected static $visitNumberGap = array(
+ public static $visitNumberGap = array(
array(1, 1),
array(2, 2),
array(3, 3),
@@ -67,7 +67,7 @@ class Archiver extends \Piwik\Plugin\Archiver
/**
* The set of ranges used when calculating the 'days since last visit' report.
*/
- protected static $daysSinceLastVisitGap = array(
+ public static $daysSinceLastVisitGap = array(
array(0, 0),
array(1, 1),
array(2, 2),
@@ -143,7 +143,7 @@ class Archiver extends \Piwik\Plugin\Archiver
* Transforms and returns the set of ranges used to calculate the 'visits by total time'
* report from ranges in minutes to equivalent ranges in seconds.
*/
- protected static function getSecondsGap()
+ public static function getSecondsGap()
{
$secondsGap = array();
foreach (self::$timeGap as $gap) {