diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-08-02 17:59:33 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-08-02 17:59:33 +0400 |
commit | a96ec40e983a8b64f4c25def541a519ff3670e6a (patch) | |
tree | bef2a5f7b1e9532dc96161334e23a553cdff7ea1 /plugins/DBStats/MySQLMetadataProvider.php | |
parent | 61997f45e4c39360000e815c9e0853ae04e2f56f (diff) |
Refs #4059 Converting dozens of plugins/* classes to use Namespaces, \Piwik\Plugins\*
Added namespaces to functions.php files in the five plugins that had one
Work in progress
Diffstat (limited to 'plugins/DBStats/MySQLMetadataProvider.php')
-rwxr-xr-x | plugins/DBStats/MySQLMetadataProvider.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/DBStats/MySQLMetadataProvider.php b/plugins/DBStats/MySQLMetadataProvider.php index d47713cf30..4e39d50887 100755 --- a/plugins/DBStats/MySQLMetadataProvider.php +++ b/plugins/DBStats/MySQLMetadataProvider.php @@ -6,15 +6,17 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * * @category Piwik_Plugins - * @package Piwik_DBStats + * @package DBStats */ +namespace Piwik\Plugins\DBStats; + +use Exception; use Piwik\Piwik; use Piwik\Common; use Piwik\Config; use Piwik\DataTable; use Piwik\Db; - /** * Utility class that provides general information about databases, including the size of * the entire database, the size and row count of each table and the size and row count @@ -23,7 +25,7 @@ use Piwik\Db; * This class will cache the table information it retrieves from the database. In order to * issue a new query instead of using this cache, you must create a new instance of this type. */ -class Piwik_DBStats_MySQLMetadataProvider +class MySQLMetadataProvider { /** * Cached MySQL table statuses. So we won't needlessly re-issue SHOW TABLE STATUS queries. |