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:
authormattab <matthieu.aubry@gmail.com>2013-07-31 20:46:40 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-31 20:46:40 +0400
commit11752942f0e6526a0d254af2bb2b101491238f29 (patch)
treeb3434b12326b5d84b42312c546c7ec4ee13ab10e /plugins/Overlay
parentd9d4598084aa51d95bf3eab0e961d3c27161cbb8 (diff)
Refs #3741 PHP Namespace conversion continued: Tracker classes,
renaming Unzip to Uncompress, Renaming Tracker/Referer to Tracker/Referrer, and few more
Diffstat (limited to 'plugins/Overlay')
-rw-r--r--plugins/Overlay/API.php3
-rw-r--r--plugins/Overlay/Controller.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Overlay/API.php b/plugins/Overlay/API.php
index d6d019aa23..35e7c681e4 100644
--- a/plugins/Overlay/API.php
+++ b/plugins/Overlay/API.php
@@ -3,6 +3,7 @@ use Piwik\Config;
use Piwik\Piwik;
use Piwik\Access;
use Piwik\DataTable;
+use Piwik\Tracker\Action;
/**
* Piwik - Open source web analytics
@@ -79,7 +80,7 @@ class Piwik_Overlay_API
{
$this->authenticate($idSite);
- $url = Piwik_Tracker_Action::excludeQueryParametersFromUrl($url, $idSite);
+ $url = Action::excludeQueryParametersFromUrl($url, $idSite);
// we don't unsanitize $url here. it will be done in the Transitions plugin.
$resultDataTable = new DataTable;
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php
index b034173e43..2efcfd7057 100644
--- a/plugins/Overlay/Controller.php
+++ b/plugins/Overlay/Controller.php
@@ -5,6 +5,7 @@ use Piwik\Piwik;
use Piwik\Config;
use Piwik\Common;
use Piwik\Controller;
+use Piwik\Tracker\Action;
use Piwik\View;
/**
@@ -52,12 +53,12 @@ class Piwik_Overlay_Controller extends Controller
$currentUrl = Common::getRequestVar('currentUrl');
$currentUrl = Common::unsanitizeInputValue($currentUrl);
- $normalizedCurrentUrl = Piwik_Tracker_Action::excludeQueryParametersFromUrl($currentUrl, $idSite);
+ $normalizedCurrentUrl = Action::excludeQueryParametersFromUrl($currentUrl, $idSite);
$normalizedCurrentUrl = Common::unsanitizeInputValue($normalizedCurrentUrl);
// load the appropriate row of the page urls report using the label filter
Piwik_Actions_ArchivingHelper::reloadConfig();
- $path = Piwik_Actions_ArchivingHelper::getActionExplodedNames($normalizedCurrentUrl, Piwik_Tracker_Action::TYPE_ACTION_URL);
+ $path = Piwik_Actions_ArchivingHelper::getActionExplodedNames($normalizedCurrentUrl, Action::TYPE_ACTION_URL);
$path = array_map('urlencode', $path);
$label = implode('>', $path);
$request = new Request(