@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use OCA\FaceRecognition\Watcher; |
28 | 28 | use OCP\AppFramework\App; |
29 | -use OCP\AppFramework\IAppContainer; |
|
30 | 29 | use OCP\Files\IRootFolder; |
31 | 30 | use OCP\Files\Node; |
32 | 31 |
@@ -24,8 +24,6 @@ discard block |
||
24 | 24 | namespace OCA\FaceRecognition\BackgroundJob; |
25 | 25 | |
26 | 26 | use OCA\FaceRecognition\AppInfo\Application; |
27 | -use OCA\FaceRecognition\Helper\Requirements; |
|
28 | - |
|
29 | 27 | use OCA\FaceRecognition\BackgroundJob\Tasks\CheckCronTask; |
30 | 28 | use OCA\FaceRecognition\BackgroundJob\Tasks\CheckRequirementsTask; |
31 | 29 | use OCA\FaceRecognition\BackgroundJob\Tasks\LockTask; |
@@ -35,8 +33,6 @@ discard block |
||
35 | 33 | use OCA\FaceRecognition\BackgroundJob\Tasks\ImageProcessingTask; |
36 | 34 | use OCA\FaceRecognition\BackgroundJob\Tasks\UnlockTask; |
37 | 35 | |
38 | -use Symfony\Component\Console\Output\OutputInterface; |
|
39 | - |
|
40 | 36 | /** |
41 | 37 | * Background service. Both command and cron job are calling this service for long-running background operations. |
42 | 38 | * Background processing for face recognition is comprised of several steps, called tasks. Each task is independent, |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OCA\FaceRecognition\BackgroundJob; |
25 | 25 | |
26 | 26 | use OCP\ILogger; |
27 | - |
|
28 | 27 | use Symfony\Component\Console\Output\OutputInterface; |
29 | 28 | |
30 | 29 | /** |
@@ -25,10 +25,8 @@ |
||
25 | 25 | |
26 | 26 | use OCP\IConfig; |
27 | 27 | use OCP\IUser; |
28 | - |
|
29 | 28 | use OCP\Files\File; |
30 | 29 | use OCP\Files\Folder; |
31 | - |
|
32 | 30 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionBackgroundTask; |
33 | 31 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionContext; |
34 | 32 | use OCA\FaceRecognition\Db\Image; |
@@ -25,17 +25,13 @@ |
||
25 | 25 | |
26 | 26 | use OCP\IConfig; |
27 | 27 | use OCP\IUser; |
28 | - |
|
29 | 28 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionBackgroundTask; |
30 | 29 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionContext; |
31 | 30 | use OCA\FaceRecognition\BackgroundJob\Tasks\AddMissingImagesTask; |
32 | - |
|
33 | 31 | use OCA\FaceRecognition\Db\FaceNewMapper; |
34 | 32 | use OCA\FaceRecognition\Db\ImageMapper; |
35 | 33 | use OCA\FaceRecognition\Db\PersonMapper; |
36 | - |
|
37 | 34 | use OCA\FaceRecognition\Helper\Euclidean; |
38 | - |
|
39 | 35 | use OCA\FaceRecognition\Migration\AddDefaultFaceModel; |
40 | 36 | |
41 | 37 | /** |
@@ -24,13 +24,9 @@ |
||
24 | 24 | namespace OCA\FaceRecognition\BackgroundJob\Tasks; |
25 | 25 | |
26 | 26 | use OC_Image; |
27 | - |
|
28 | 27 | use OCP\Files\File; |
29 | -use OCP\Files\Folder; |
|
30 | 28 | use OCP\IConfig; |
31 | 29 | use OCP\ITempManager; |
32 | -use OCP\IUser; |
|
33 | - |
|
34 | 30 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionBackgroundTask; |
35 | 31 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionContext; |
36 | 32 | use OCA\FaceRecognition\Db\FaceNew; |
@@ -26,21 +26,16 @@ |
||
26 | 26 | namespace OCA\FaceRecognition\Command; |
27 | 27 | |
28 | 28 | use OCP\Encryption\IManager; |
29 | -use OCP\Files\File; |
|
30 | -use OCP\Files\Folder; |
|
31 | -use OCP\Files\IAppData; |
|
32 | 29 | use OCP\Files\IRootFolder; |
33 | 30 | use OCP\App\IAppManager; |
34 | 31 | use OCP\Files\NotFoundException; |
35 | 32 | use OCP\IConfig; |
36 | -use OCP\IDateTimeFormatter; |
|
37 | 33 | use OCP\IUser; |
38 | 34 | use OCP\IUserManager; |
39 | 35 | use Symfony\Component\Console\Command\Command; |
40 | 36 | use Symfony\Component\Console\Input\InputArgument; |
41 | 37 | use Symfony\Component\Console\Input\InputInterface; |
42 | 38 | use Symfony\Component\Console\Output\OutputInterface; |
43 | - |
|
44 | 39 | use OCA\FaceRecognition\Db\Face; |
45 | 40 | use OCA\FaceRecognition\Db\FaceMapper; |
46 | 41 | use OCA\FaceRecognition\Helper\Requirements; |
@@ -25,15 +25,9 @@ |
||
25 | 25 | |
26 | 26 | use OCP\App\IAppManager; |
27 | 27 | use OCP\Encryption\IManager; |
28 | - |
|
29 | 28 | use Symfony\Component\Console\Command\Command; |
30 | -use Symfony\Component\Console\Input\InputArgument; |
|
31 | 29 | use Symfony\Component\Console\Input\InputInterface; |
32 | 30 | use Symfony\Component\Console\Output\OutputInterface; |
33 | - |
|
34 | -use OCA\FaceRecognition\Db\Face; |
|
35 | -use OCA\FaceRecognition\Db\FaceMapper; |
|
36 | - |
|
37 | 31 | use OCA\FaceRecognition\Helper\Requirements; |
38 | 32 | |
39 | 33 | class Check extends Command { |
@@ -29,7 +29,6 @@ discard block |
||
29 | 29 | use OCP\Files\File; |
30 | 30 | use OCP\Files\Folder; |
31 | 31 | use OCP\Files\IRootFolder; |
32 | -use OCP\Files\NotFoundException; |
|
33 | 32 | use OCP\IConfig; |
34 | 33 | use OCP\IUser; |
35 | 34 | use OCP\IUserManager; |
@@ -37,7 +36,6 @@ discard block |
||
37 | 36 | use Symfony\Component\Console\Input\InputArgument; |
38 | 37 | use Symfony\Component\Console\Input\InputInterface; |
39 | 38 | use Symfony\Component\Console\Output\OutputInterface; |
40 | - |
|
41 | 39 | use OCA\FaceRecognition\Db\Face; |
42 | 40 | use OCA\FaceRecognition\Db\FaceMapper; |
43 | 41 | use OCA\FaceRecognition\Helper\Requirements; |