diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:36:12 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:36:12 +0400 |
commit | 8c1f92be4291f1d76935ed34de88f5168faec88a (patch) | |
tree | a4fdadf26601374c364bb69cd1e42879775a0487 /plugins/Referers | |
parent | 4fbe9960f50068a1ddc46c2780839999d7fea85e (diff) |
Adding UrlHelper containing random logic around manipulating urls
Diffstat (limited to 'plugins/Referers')
-rw-r--r-- | plugins/Referers/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Referers/functions.php b/plugins/Referers/functions.php index 930be01b7e..6fb0f69ccb 100644 --- a/plugins/Referers/functions.php +++ b/plugins/Referers/functions.php @@ -11,7 +11,7 @@ namespace Piwik\Plugins\Referers; use Piwik\Common; -use Piwik\Plugins\Referers\API; +use Piwik\UrlHelper; /** * Returns path component from a URL @@ -21,7 +21,7 @@ use Piwik\Plugins\Referers\API; */ function getPathFromUrl($url) { - $path = Common::getPathAndQueryFromUrl($url); + $path = UrlHelper::getPathAndQueryFromUrl($url); if (empty($path)) { return 'index'; } |