diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
commit | 81ccb29b440e98ed9147e84781df0fce34ee6542 (patch) | |
tree | 378a809d208f6a2cc188489017b87a98501023f2 /plugins/Provider/functions.php | |
parent | 98935b7cca73c74dac77d3661239a2055e6b8f8f (diff) |
Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException
Diffstat (limited to 'plugins/Provider/functions.php')
-rw-r--r-- | plugins/Provider/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Provider/functions.php b/plugins/Provider/functions.php index 480cfbe3e0..a266c93d84 100644 --- a/plugins/Provider/functions.php +++ b/plugins/Provider/functions.php @@ -12,6 +12,7 @@ namespace Piwik\Plugins\Provider; use Piwik\Common; use Piwik\DataTable; +use Piwik\Piwik; /** * Return hostname portion of a domain name @@ -22,7 +23,7 @@ use Piwik\DataTable; function getHostnameName($in) { if (empty($in)) { - return Piwik_Translate('General_Unknown'); + return Piwik::translate('General_Unknown'); } if (strtolower($in) === 'ip') { return "IP"; |