diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-12-11 04:31:07 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-12-11 04:31:07 +0300 |
commit | 51b0ede2629fd6ffdd7ff72d5817395c6cf21b91 (patch) | |
tree | 47a7a93f90ceb4a38c0105d3d7d0344b5b754036 /plugins/PrivacyManager/Controller.php | |
parent | 491ff0d8ecd7d2e9daeeb103a2a7fc099526dff9 (diff) |
Add possibility to configure different interval for deleting unused actions (#13822)
* add possibility to configure different interval for deleting unused actions
* fix tests
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 606270c1a8..165297fab0 100644 --- a/plugins/PrivacyManager/Controller.php +++ b/plugins/PrivacyManager/Controller.php @@ -233,7 +233,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin if ($settings['delete_logs_enable']) { /** @var LogDataPurger $logDataPurger */ $logDataPurger = StaticContainer::get('Piwik\Plugins\PrivacyManager\LogDataPurger'); - $logDataPurger->purgeData($settings['delete_logs_older_than']); + $logDataPurger->purgeData($settings['delete_logs_older_than'], true); } if ($settings['delete_reports_enable']) { $reportsPurger = ReportsPurger::make($settings, PrivacyManager::getAllMetricsToKeep()); |