diff options
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index d6b6b0e45f..7a5c6076f7 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -329,7 +329,7 @@ class Piwik_DBStats extends Plugin } } - $getPrettySize = array('Piwik', 'getPrettySizeFromBytes'); + $getPrettySize = array('\Piwik\Piwik', 'getPrettySizeFromBytes'); $params = !isset($fixedMemoryUnit) ? array() : array($fixedMemoryUnit); $properties['filters'][] = array( 'ColumnCallbackReplace', array($sizeColumns, $getPrettySize, $params), $runPrettySizeFilterBeforeGeneric); @@ -343,7 +343,7 @@ class Piwik_DBStats extends Plugin $properties['filters'][] = array('ColumnCallbackReplace', array($sizeColumns, $replaceSpaces)); } - $getPrettyNumber = array('Piwik', 'getPrettyNumber'); + $getPrettyNumber = array('\Piwik\Piwik', 'getPrettyNumber'); $properties['filters'][] = array('ColumnCallbackReplace', array('row_count', $getPrettyNumber)); return $viewDataTable; |