diff options
Diffstat (limited to 'plugins/CoreHome/Columns/VisitLastActionTime.php')
-rw-r--r-- | plugins/CoreHome/Columns/VisitLastActionTime.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreHome/Columns/VisitLastActionTime.php b/plugins/CoreHome/Columns/VisitLastActionTime.php index 988757301b..d25f09abab 100644 --- a/plugins/CoreHome/Columns/VisitLastActionTime.php +++ b/plugins/CoreHome/Columns/VisitLastActionTime.php @@ -8,6 +8,7 @@ */ namespace Piwik\Plugins\CoreHome\Columns; +use Piwik\Date; use Piwik\Plugin\Dimension\VisitDimension; use Piwik\Tracker\Action; use Piwik\Tracker\Request; @@ -31,7 +32,7 @@ class VisitLastActionTime extends VisitDimension */ public function onNewVisit(Request $request, Visitor $visitor, $action) { - return Tracker::getDatetimeFromTimestamp($request->getCurrentTimestamp()); + return Date::getDatetimeFromTimestamp($request->getCurrentTimestamp()); } /** |