diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-29 02:34:36 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-29 02:34:36 +0400 |
commit | 55c053f05b764b899f0b7bb1c8ec71f3685c4a11 (patch) | |
tree | 20660dcb77658b25fa201f3db9db466ff910bd84 /core/Date.php | |
parent | ceb09d167b9d207ba8ab62cb560a2576d1a8e021 (diff) |
Remove Piwik::translateException function.
Diffstat (limited to 'core/Date.php')
-rw-r--r-- | core/Date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Date.php b/core/Date.php index fe00da5807..508d8de93d 100644 --- a/core/Date.php +++ b/core/Date.php @@ -87,7 +87,7 @@ class Date */ public static function factory($dateString, $timezone = null) { - $invalidDateException = new Exception(Piwik::translateException('General_ExceptionInvalidDateFormat', array("YYYY-MM-DD, or 'today' or 'yesterday'", "strtotime", "http://php.net/strtotime")) . ": $dateString"); + $invalidDateException = new Exception(Piwik::translate('General_ExceptionInvalidDateFormat', array("YYYY-MM-DD, or 'today' or 'yesterday'", "strtotime", "http://php.net/strtotime")) . ": $dateString"); if ($dateString instanceof self) { $dateString = $dateString->toString(); } |