diff options
Diffstat (limited to 'plugins/CoreAdminHome/Tasks.php')
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index 22a2fbb1a6..b6856f5ef8 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -9,7 +9,7 @@ namespace Piwik\Plugins\CoreAdminHome; use Piwik\ArchiveProcessor\Rules; -use Piwik\Archive\Purger; +use Piwik\Archive\ArchivePurger; use Piwik\DataAccess\ArchiveTableCreator; use Piwik\Date; use Piwik\Db; @@ -20,13 +20,13 @@ use Piwik\SettingsServer; class Tasks extends \Piwik\Plugin\Tasks { /** - * @var Purger + * @var ArchivePurger */ private $archivePurger; - public function __construct(Purger $archivePurger = null) + public function __construct(ArchivePurger $archivePurger = null) { - $this->archivePurger = $archivePurger ?: new Purger(); + $this->archivePurger = $archivePurger ?: new ArchivePurger(); } public function schedule() |