summaryrefslogtreecommitdiffstats
path: root/lib/BackgroundJob
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-07-11 17:51:13 -0300
committerVitor Mattos <vitor@php.rio>2022-07-11 17:51:13 -0300
commit636f56edf0aa8c359efec814bb0dc537bbeda641 (patch)
treede585418c49377fe18e27907679268066c4d80aa /lib/BackgroundJob
parent9db9abc179f4aade0c6e2beb8fd6eaa39535a814 (diff)
Clean class
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/BackgroundJob')
-rw-r--r--lib/BackgroundJob/ExpireChatMessages.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/BackgroundJob/ExpireChatMessages.php b/lib/BackgroundJob/ExpireChatMessages.php
index e90f4437b..63f3353f0 100644
--- a/lib/BackgroundJob/ExpireChatMessages.php
+++ b/lib/BackgroundJob/ExpireChatMessages.php
@@ -26,25 +26,16 @@ declare(strict_types=1);
namespace OCA\Talk\BackgroundJob;
use OCA\Talk\Chat\ChatManager;
-use OCA\Talk\Exceptions\RoomNotFoundException;
-use OCA\Talk\Manager;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\IJob;
-use OCP\BackgroundJob\IJobList;
use OCP\BackgroundJob\TimedJob;
class ExpireChatMessages extends TimedJob {
- private IJobList $jobList;
- private Manager $roomManager;
private ChatManager $chatManager;
public function __construct(ITimeFactory $timeFactory,
- IJobList $jobList,
- Manager $roomManager,
ChatManager $chatManager) {
parent::__construct($timeFactory);
- $this->jobList = $jobList;
- $this->roomManager = $roomManager;
$this->chatManager = $chatManager;
// Every 5 minutes