summaryrefslogtreecommitdiffstats
path: root/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php')
-rw-r--r--core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
index ceff579b1c7..7ab9fb47d54 100644
--- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
+++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php
@@ -26,7 +26,8 @@ declare(strict_types=1);
*/
namespace OC\Core\BackgroundJobs;
-use OC\BackgroundJob\QueuedJob;
+use OCP\AppFramework\Utility\ITimeFactory;
+use OCP\BackgroundJob\QueuedJob;
use OCP\IConfig;
use Psr\Log\LoggerInterface;
@@ -34,7 +35,8 @@ class BackgroundCleanupUpdaterBackupsJob extends QueuedJob {
protected IConfig $config;
protected LoggerInterface $log;
- public function __construct(IConfig $config, LoggerInterface $log) {
+ public function __construct(IConfig $config, LoggerInterface $log, ITimeFactory $time) {
+ parent::__construct($time);
$this->config = $config;
$this->log = $log;
}