Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DBStats/API.php')
-rw-r--r--plugins/DBStats/API.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/DBStats/API.php b/plugins/DBStats/API.php
index 9b308a35fa..4821f4e2b9 100644
--- a/plugins/DBStats/API.php
+++ b/plugins/DBStats/API.php
@@ -27,7 +27,7 @@ class Piwik_DBStats_API
return self::$instance;
}
- static public function getDBStatus()
+ public function getDBStatus()
{
Piwik::checkUserIsSuperUser();
$configDb = Zend_Registry::get('config')->database->toArray();
@@ -45,7 +45,7 @@ class Piwik_DBStats_API
return $status;
}
- static public function getTableStatus($table, $field = '')
+ public function getTableStatus($table, $field = '')
{
Piwik::checkUserIsSuperUser();
$db = Zend_Registry::get('db');
@@ -65,7 +65,7 @@ class Piwik_DBStats_API
}
}
- static public function getAllTablesStatus()
+ public function getAllTablesStatus()
{
Piwik::checkUserIsSuperUser();
$db = Zend_Registry::get('db');
@@ -75,7 +75,7 @@ class Piwik_DBStats_API
$table = array();
foreach($tablesPiwik as $tableName)
{
- $t = self::getTableStatus($tableName);
+ $t = $this->getTableStatus($tableName);
$total['Data_length'] += $t['Data_length'];
$total['Index_length'] += $t['Index_length'];
$total['Rows'] += $t['Rows'];