|
@@ -35,15 +35,12 @@ use OCP\Log\RotationTrait;
|
|
|
class Rotate extends TimedJob {
|
|
|
use RotationTrait;
|
|
|
|
|
|
- /** @var IConfig */
|
|
|
- private $config;
|
|
|
-
|
|
|
- public function __construct(ITimeFactory $time,
|
|
|
- IConfig $config) {
|
|
|
+ public function __construct(
|
|
|
+ ITimeFactory $time,
|
|
|
+ private IConfig $config,
|
|
|
+ ) {
|
|
|
parent::__construct($time);
|
|
|
|
|
|
- $this->config = $config;
|
|
|
-
|
|
|
$this->setInterval(60 * 60 * 3);
|
|
|
}
|
|
|
|