diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:23:23 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:23:23 +0400 |
commit | e3bd0c0b9e8bd34efd27d31fe310602fcfc3a894 (patch) | |
tree | 9e8873a2410dedb65b3e725bf537d4781047b7b7 /core/Mail.php | |
parent | 8d11a25fa7f41212584a58998c59884a4b9836d4 (diff) |
Moving piwik settings specific getters to SettingsPiwik class
Adding MetricsFormatter class which knows how to format/display metrics (time, money, size, etc)
Diffstat (limited to 'core/Mail.php')
-rw-r--r-- | core/Mail.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Mail.php b/core/Mail.php index 1ffbc5d2e4..27ccf629ef 100644 --- a/core/Mail.php +++ b/core/Mail.php @@ -10,9 +10,6 @@ */ namespace Piwik; -use Piwik\Config; -use Piwik\Piwik; -use Piwik\Url; use Zend_Mail; /** @@ -48,7 +45,7 @@ class Mail extends Zend_Mail $piwikHost = Url::getCurrentHost($hostname); // If known Piwik URL, use it instead of "localhost" - $piwikUrl = Piwik::getPiwikUrl(); + $piwikUrl = SettingsPiwik::getPiwikUrl(); $url = parse_url($piwikUrl); if (isset($url['host']) && $url['host'] != 'localhost' |