diff options
Diffstat (limited to 'plugins/PagePerformance/Columns/TimeNetwork.php')
-rw-r--r-- | plugins/PagePerformance/Columns/TimeNetwork.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/PagePerformance/Columns/TimeNetwork.php b/plugins/PagePerformance/Columns/TimeNetwork.php index d363e6f9cb..6d247e16f8 100644 --- a/plugins/PagePerformance/Columns/TimeNetwork.php +++ b/plugins/PagePerformance/Columns/TimeNetwork.php @@ -21,8 +21,11 @@ use Piwik\Tracker\Visitor; class TimeNetwork extends ActionDimension { - protected $columnName = 'time_network'; - protected $columnType = 'MEDIUMINT(10) UNSIGNED NULL'; + const COLUMN_TYPE = 'MEDIUMINT(10) UNSIGNED NULL'; + const COLUMN_NAME = 'time_network'; + + protected $columnName = self::COLUMN_NAME; + protected $columnType = self::COLUMN_TYPE; protected $type = self::TYPE_DURATION_MS; protected $nameSingular = 'PagePerformance_ColumnTimeNetwork'; |