aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Notification
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-08-17 10:46:08 +0200
committerGitHub <noreply@github.com>2022-08-17 10:46:08 +0200
commitf6081e35b4ebaecc88b5cf050a33838be798d3d6 (patch)
tree8a121e27cc5cc43ff88dc57e250c06b8d89a59a6 /lib/private/Notification
parentdc5cdfb7e3291d79735daf7cacae1988d3c5f1c6 (diff)
downloadnextcloud-server-f6081e35b4ebaecc88b5cf050a33838be798d3d6.tar.gz
nextcloud-server-f6081e35b4ebaecc88b5cf050a33838be798d3d6.zip
Remove ITimeFactory
Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
Diffstat (limited to 'lib/private/Notification')
-rw-r--r--lib/private/Notification/Manager.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index 0bdb8302a10..148ad3e912d 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OC\Notification;
use OC\AppFramework\Bootstrap\Coordinator;
-use OCP\AppFramework\Utility\ITimeFactory;
use OCP\ICache;
use OCP\ICacheFactory;
use OCP\IUserManager;
@@ -50,8 +49,6 @@ class Manager implements IManager {
private $userManager;
/** @var ICache */
protected $cache;
- /** @var ITimeFactory */
- protected $timeFactory;
/** @var IRegistry */
protected $subscription;
/** @var LoggerInterface */
@@ -79,14 +76,12 @@ class Manager implements IManager {
public function __construct(IValidator $validator,
IUserManager $userManager,
ICacheFactory $cacheFactory,
- ITimeFactory $timeFactory,
IRegistry $subscription,
LoggerInterface $logger,
Coordinator $coordinator) {
$this->validator = $validator;
$this->userManager = $userManager;
$this->cache = $cacheFactory->createDistributed('notifications');
- $this->timeFactory = $timeFactory;
$this->subscription = $subscription;
$this->logger = $logger;
$this->coordinator = $coordinator;