diff options
author | diosmosis <benaka@piwik.pro> | 2015-06-16 10:51:08 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-06-16 10:51:08 +0300 |
commit | 62f170d537c489447a8f9d5a9b4abcde7d6661c7 (patch) | |
tree | 11eba40a6e9e4590fe5829f67eca6e2e3204f599 /plugins/PrivacyManager/Controller.php | |
parent | 4d2f7f231d0389bbd0e19a8f467d378c1223e9fd (diff) |
Refs #7887, fixing failed rebase or two.
Diffstat (limited to 'plugins/PrivacyManager/Controller.php')
-rw-r--r-- | plugins/PrivacyManager/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/Controller.php b/plugins/PrivacyManager/Controller.php index 7773fe0a97..3f34c1829b 100644 --- a/plugins/PrivacyManager/Controller.php +++ b/plugins/PrivacyManager/Controller.php @@ -168,7 +168,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin if ($settings['delete_logs_enable']) { /** @var LogDataPurger $logDataPurger */ $logDataPurger = StaticContainer::get('Piwik\Plugins\PrivacyManager\LogDataPurger'); - $logDataPurger->purgeData(); + $logDataPurger->purgeData($settings['delete_logs_older_than']); } if ($settings['delete_reports_enable']) { $reportsPurger = ReportsPurger::make($settings, PrivacyManager::getAllMetricsToKeep()); |