Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-22 16:47:19 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-22 16:47:19 +0300
commit0846c6a5a8c455463d1dccf8e884ce2d9dcccbd3 (patch)
treeab9c588e7a5c0114e1bf96672302434b04b096dc /lib
parent13b93a53b827d7095b109da3ef23d575c35385ea (diff)
Fix missing parent constructor call
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/BackgroundJob/ResetAssignedSignalingServer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/BackgroundJob/ResetAssignedSignalingServer.php b/lib/BackgroundJob/ResetAssignedSignalingServer.php
index 5044aa426..88dc6aa19 100644
--- a/lib/BackgroundJob/ResetAssignedSignalingServer.php
+++ b/lib/BackgroundJob/ResetAssignedSignalingServer.php
@@ -23,6 +23,7 @@ declare(strict_types=1);
namespace OCA\Talk\BackgroundJob;
+use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\TimedJob;
use OCA\Talk\Manager;
use OCP\ICache;
@@ -35,8 +36,11 @@ class ResetAssignedSignalingServer extends TimedJob {
/** @var ICache */
protected $cache;
- public function __construct(Manager $manager,
+ public function __construct(ITimeFactory $time,
+ Manager $manager,
ICacheFactory $cacheFactory) {
+ parent::__construct($time);
+
// Every 5 minutes
$this->setInterval(60 * 5);