@@ -22,12 +22,9 @@ |
||
22 | 22 | |
23 | 23 | namespace OCA\TwoFactorBackupCodes\Service; |
24 | 24 | |
25 | -use BadMethodCallException; |
|
26 | 25 | use OCA\TwoFactorBackupCodes\Db\BackupCode; |
27 | 26 | use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper; |
28 | 27 | use OCA\TwoFactorBackupCodes\Event\CodesGenerated; |
29 | -use OCP\Activity\IManager; |
|
30 | -use OCP\ILogger; |
|
31 | 28 | use OCP\IUser; |
32 | 29 | use OCP\Security\IHasher; |
33 | 30 | use OCP\Security\ISecureRandom; |
@@ -27,7 +27,6 @@ |
||
27 | 27 | |
28 | 28 | use OCP\Files\IMimeTypeLoader; |
29 | 29 | use OCP\IDBConnection; |
30 | -use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
|
31 | 30 | |
32 | 31 | /** |
33 | 32 | * Mimetype database loader |