diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-06-16 08:26:10 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-06-16 08:26:10 +0300 |
commit | 0a29e23d70c149958b343fcbd0c26a580ff882d6 (patch) | |
tree | e831bd69a4ca812dd3286aa27378ee8b2da245b8 /plugins/PrivacyManager | |
parent | cf2694bca2e55ea8f1fd3df7725cd97c9c3468ad (diff) |
Should fix recoverable error missing $dataAccess parameter
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r-- | plugins/PrivacyManager/Controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/Controller.php b/plugins/PrivacyManager/Controller.php index 1b543d5b15..d662a8459a 100644 --- a/plugins/PrivacyManager/Controller.php +++ b/plugins/PrivacyManager/Controller.php @@ -18,6 +18,7 @@ use Piwik\Nonce; use Piwik\Notification; use Piwik\Option; use Piwik\Piwik; +use Piwik\Plugins\DBStats\MySQLMetadataDataAccess; use Piwik\Plugins\DBStats\MySQLMetadataProvider; use Piwik\Plugins\LanguagesManager\LanguagesManager; use Piwik\Scheduler\Scheduler; @@ -191,7 +192,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin $doDatabaseSizeEstimate = PiwikConfig::getInstance()->Deletelogs['enable_auto_database_size_estimate']; // determine the DB size & purged DB size - $metadataProvider = new MySQLMetadataProvider(); + $metadataProvider = new MySQLMetadataProvider(new MySQLMetadataDataAccess()); $tableStatuses = $metadataProvider->getAllTablesStatus(); $totalBytes = 0; |