diff options
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r-- | apps/workflowengine/lib/BackgroundJobs/Rotate.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/workflowengine/lib/BackgroundJobs/Rotate.php b/apps/workflowengine/lib/BackgroundJobs/Rotate.php index e96af4fd9e1..ee83f4821f1 100644 --- a/apps/workflowengine/lib/BackgroundJobs/Rotate.php +++ b/apps/workflowengine/lib/BackgroundJobs/Rotate.php @@ -23,14 +23,16 @@ */ namespace OCA\WorkflowEngine\BackgroundJobs; -use OC\BackgroundJob\TimedJob; +use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\TimedJob; use OCA\WorkflowEngine\AppInfo\Application; use OCP\Log\RotationTrait; class Rotate extends TimedJob { use RotationTrait; - public function __construct() { + public function __construct(ITimeFactory $time) { + parent::__construct($time); $this->setInterval(60 * 60 * 3); } |