From e95745c074c6d04cd271706a836eccbcc674cca8 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 17 Nov 2021 16:44:11 +0100 Subject: fix tests Signed-off-by: Robin Appelman --- apps/files/lib/BackgroundJob/ScanFiles.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/files/lib') diff --git a/apps/files/lib/BackgroundJob/ScanFiles.php b/apps/files/lib/BackgroundJob/ScanFiles.php index 250338e1262..84846b9b55d 100644 --- a/apps/files/lib/BackgroundJob/ScanFiles.php +++ b/apps/files/lib/BackgroundJob/ScanFiles.php @@ -30,7 +30,6 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\IConfig; use OCP\IDBConnection; use OCP\ILogger; -use OCP\IUserManager; /** * Class ScanFiles is a background job used to run the file scanner over the user @@ -57,10 +56,10 @@ class ScanFiles extends \OC\BackgroundJob\TimedJob { * @param IDBConnection $connection */ public function __construct( - IConfig $config, + IConfig $config, IEventDispatcher $dispatcher, - ILogger $logger, - IDBConnection $connection + ILogger $logger, + IDBConnection $connection ) { // Run once per 10 minutes $this->setInterval(60 * 10); -- cgit v1.2.3