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:
authormattab <matthieu.aubry@gmail.com>2013-09-16 05:35:34 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-16 05:35:34 +0400
commita20afb2f9817cefffefe6615aa63545e2006cc9b (patch)
treef1d52126e160b7d3eadfad6668d78b012196f1d3 /plugins/DBStats
parent614d0e82ad80556af00471369e291f32b0ee0af1 (diff)
DbHelper groups logic around Db, tables, etc.
Diffstat (limited to 'plugins/DBStats')
-rwxr-xr-xplugins/DBStats/MySQLMetadataProvider.php4
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) {