diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-16 05:35:34 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-16 05:35:34 +0400 |
commit | a20afb2f9817cefffefe6615aa63545e2006cc9b (patch) | |
tree | f1d52126e160b7d3eadfad6668d78b012196f1d3 /plugins/DBStats | |
parent | 614d0e82ad80556af00471369e291f32b0ee0af1 (diff) |
DbHelper groups logic around Db, tables, etc.
Diffstat (limited to 'plugins/DBStats')
-rwxr-xr-x | plugins/DBStats/MySQLMetadataProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/MySQLMetadataProvider.php b/plugins/DBStats/MySQLMetadataProvider.php index e148ced563..3a9dc5ed1d 100755 --- a/plugins/DBStats/MySQLMetadataProvider.php +++ b/plugins/DBStats/MySQLMetadataProvider.php @@ -11,11 +11,11 @@ namespace Piwik\Plugins\DBStats; use Exception; -use Piwik\Piwik; use Piwik\Common; use Piwik\Config; use Piwik\DataTable; use Piwik\Db; +use Piwik\DbHelper; /** * Utility class that provides general information about databases, including the size of @@ -106,7 +106,7 @@ class MySQLMetadataProvider public function getAllTablesStatus($matchingRegex = null) { if (is_null($this->tableStatuses)) { - $tablesPiwik = Piwik::getTablesInstalled(); + $tablesPiwik = DbHelper::getTablesInstalled(); $this->tableStatuses = array(); foreach (Db::fetchAll("SHOW TABLE STATUS") as $t) { |