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:
Diffstat (limited to 'core/DataAccess/LogAggregator.php')
-rw-r--r--core/DataAccess/LogAggregator.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/DataAccess/LogAggregator.php b/core/DataAccess/LogAggregator.php
index c30132f41e..ede9f81526 100644
--- a/core/DataAccess/LogAggregator.php
+++ b/core/DataAccess/LogAggregator.php
@@ -164,6 +164,11 @@ class LogAggregator
$this->logger = $logger ?: StaticContainer::get('Psr\Log\LoggerInterface');
}
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+
public function setQueryOriginHint($nameOfOrigiin)
{
$this->queryOriginHint = $nameOfOrigiin;
@@ -515,7 +520,7 @@ class LogAggregator
*
* @return array
*/
- protected function getGeneralQueryBindParams()
+ public function getGeneralQueryBindParams()
{
$bind = array($this->dateStart->toString(Date::DATE_TIME_FORMAT), $this->dateEnd->toString(Date::DATE_TIME_FORMAT));
$bind = array_merge($bind, $this->sites);