@@ -5,11 +5,8 @@ |
||
5 | 5 | use OCP\Files\IRootFolder; |
6 | 6 | use OCP\AppFramework\Http; |
7 | 7 | use OCP\AppFramework\Http\DataResponse; |
8 | -use OCP\AppFramework\Http\JSONResponse; |
|
9 | 8 | use OCP\AppFramework\Http\DataDisplayResponse; |
10 | 9 | use OCP\AppFramework\Controller; |
11 | - |
|
12 | -use OCA\FaceRecognition\Db\Face; |
|
13 | 10 | use OCA\FaceRecognition\Db\FaceMapper; |
14 | 11 | |
15 | 12 | class FaceController extends Controller { |
@@ -3,13 +3,8 @@ |
||
3 | 3 | |
4 | 4 | use OCP\IRequest; |
5 | 5 | use OCP\Files\IRootFolder; |
6 | -use OCP\AppFramework\Http; |
|
7 | 6 | use OCP\AppFramework\Http\DataResponse; |
8 | -use OCP\AppFramework\Http\JSONResponse; |
|
9 | -use OCP\AppFramework\Http\DataDisplayResponse; |
|
10 | 7 | use OCP\AppFramework\Controller; |
11 | - |
|
12 | -use OCA\FaceRecognition\Db\Face; |
|
13 | 8 | use OCA\FaceRecognition\Db\FaceMapper; |
14 | 9 | |
15 | 10 | class PersonController extends Controller { |
@@ -3,8 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use OCP\IDBConnection; |
5 | 5 | use OCP\AppFramework\Db\Mapper; |
6 | -use OCP\AppFramework\Db\DoesNotExistException; |
|
7 | -use OCP\DB\QueryBuilder\IQueryBuilder; |
|
8 | 6 | |
9 | 7 | class FaceMapper extends Mapper { |
10 | 8 |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OCA\FaceRecognition\Db; |
25 | 25 | |
26 | 26 | use JsonSerializable; |
27 | - |
|
28 | 27 | use OCP\AppFramework\Db\Entity; |
29 | 28 | |
30 | 29 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use OCP\IDBConnection; |
5 | 5 | use OCP\AppFramework\Db\Mapper; |
6 | -use OCP\AppFramework\Db\DoesNotExistException; |
|
7 | 6 | use OCP\DB\QueryBuilder\IQueryBuilder; |
8 | 7 | |
9 | 8 | class FaceNewMapper extends Mapper { |
@@ -25,9 +25,7 @@ |
||
25 | 25 | |
26 | 26 | use OCP\IDBConnection; |
27 | 27 | use OCP\IUser; |
28 | - |
|
29 | 28 | use OCP\AppFramework\Db\Mapper; |
30 | -use OCP\AppFramework\Db\DoesNotExistException; |
|
31 | 29 | use OCP\DB\QueryBuilder\IQueryBuilder; |
32 | 30 | |
33 | 31 | class ImageMapper extends Mapper { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace OCA\FaceRecognition\Helper; |
4 | 4 | |
5 | -use OCP\App\IAppManager; |
|
6 | - |
|
7 | 5 | class PythonAnalyzer |
8 | 6 | { |
9 | 7 | protected $command; |
@@ -31,7 +31,6 @@ |
||
31 | 31 | use OCP\IDBConnection; |
32 | 32 | use OCP\ILogger; |
33 | 33 | use OCP\IUserManager; |
34 | - |
|
35 | 34 | use OCA\FaceRecognition\BackgroundJob\Tasks\AddMissingImagesTask; |
36 | 35 | use OCA\FaceRecognition\Db\Face; |
37 | 36 | use OCA\FaceRecognition\Db\Image; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OCA\FaceRecognition\BackgroundJob\Tasks; |
25 | 25 | |
26 | 26 | use OCP\IDBConnection; |
27 | - |
|
28 | 27 | use OCA\FaceRecognition\Db\Image; |
29 | 28 | use OCA\FaceRecognition\Db\ImageMapper; |
30 | 29 | use OCA\FaceRecognition\BackgroundJob\FaceRecognitionBackgroundTask; |