diff options
Diffstat (limited to 'plugins/VisitorInterest/Columns/VisitDuration.php')
-rw-r--r-- | plugins/VisitorInterest/Columns/VisitDuration.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/VisitorInterest/Columns/VisitDuration.php b/plugins/VisitorInterest/Columns/VisitDuration.php index d0286bedd2..d3f88d4926 100644 --- a/plugins/VisitorInterest/Columns/VisitDuration.php +++ b/plugins/VisitorInterest/Columns/VisitDuration.php @@ -13,8 +13,7 @@ use Piwik\Piwik; class VisitDuration extends Dimension { - public function getName() - { - return Piwik::translate('VisitorInterest_ColumnVisitDuration'); - } + + protected $type = self::TYPE_DURATION_S; + protected $nameSingular = 'VisitorInterest_ColumnVisitDuration'; }
\ No newline at end of file |