@@ -41,8 +41,6 @@ |
||
| 41 | 41 | use OCP\AppFramework\Http\FileDisplayResponse; |
| 42 | 42 | use OCP\AppFramework\Http\DataResponse; |
| 43 | 43 | use OCP\AppFramework\Http\NotFoundResponse; |
| 44 | -use OCP\AppFramework\Utility\ITimeFactory; |
|
| 45 | -use OCP\Files\File; |
|
| 46 | 44 | use OCP\Files\IAppData; |
| 47 | 45 | use OCP\Files\NotFoundException; |
| 48 | 46 | use OCP\Files\NotPermittedException; |
@@ -32,8 +32,6 @@ |
||
| 32 | 32 | |
| 33 | 33 | use OC\Authentication\Exceptions\InvalidTokenException; |
| 34 | 34 | use OC\Authentication\Token\IProvider; |
| 35 | -use OC\SystemConfig; |
|
| 36 | -use OCP\IConfig; |
|
| 37 | 35 | use OCP\Session\Exceptions\SessionNotAvailableException; |
| 38 | 36 | |
| 39 | 37 | /** |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | namespace OCA\Files_Sharing\Middleware; |
| 28 | 28 | |
| 29 | 29 | use OCA\Files_Sharing\Controller\ExternalSharesController; |
| 30 | -use OCA\Files_Sharing\Controller\ShareController; |
|
| 31 | 30 | use OCP\App\IAppManager; |
| 32 | 31 | use OCP\AppFramework\Controller; |
| 33 | 32 | use OCP\AppFramework\Http\NotFoundResponse; |
@@ -59,7 +59,6 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | use OC\Cache\CappedMemoryCache; |
| 61 | 61 | use OCP\IDBConnection; |
| 62 | -use OCP\ILogger; |
|
| 63 | 62 | use OCP\User\Backend\ABackend; |
| 64 | 63 | use OCP\User\Backend\ICheckPasswordBackend; |
| 65 | 64 | use OCP\User\Backend\ICountUsersBackend; |
@@ -68,7 +67,6 @@ discard block |
||
| 68 | 67 | use OCP\User\Backend\IGetHomeBackend; |
| 69 | 68 | use OCP\User\Backend\ISetDisplayNameBackend; |
| 70 | 69 | use OCP\User\Backend\ISetPasswordBackend; |
| 71 | -use OCP\Util; |
|
| 72 | 70 | use Symfony\Component\EventDispatcher\EventDispatcher; |
| 73 | 71 | use Symfony\Component\EventDispatcher\GenericEvent; |
| 74 | 72 | |
@@ -45,7 +45,6 @@ |
||
| 45 | 45 | use OCP\Share\IManager; |
| 46 | 46 | use OC\Files\Node\Node; |
| 47 | 47 | use OCP\IUserSession; |
| 48 | -use Sabre\VObject\Property\Boolean; |
|
| 49 | 48 | |
| 50 | 49 | /** |
| 51 | 50 | * Class ApiController |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | namespace OCA\Accessibility\Controller; |
| 24 | 24 | |
| 25 | 25 | use OCA\Accessibility\AccessibilityProvider; |
| 26 | -use OCP\AppFramework\Http; |
|
| 27 | 26 | use OCP\AppFramework\Http\DataResponse; |
| 28 | 27 | use OCP\AppFramework\OCSController; |
| 29 | 28 | use OCP\AppFramework\OCS\OCSBadRequestException; |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | use OCP\IUser; |
| 38 | 38 | use OCP\Mail\IMailer; |
| 39 | 39 | use OCP\Share\IShare; |
| 40 | -use OCP\Share\IShareHelper; |
|
| 41 | 40 | use OCP\Share\IShareProvider; |
| 42 | 41 | use OC\Share20\Exception\InvalidShare; |
| 43 | 42 | use OC\Share20\Exception\ProviderException; |
@@ -42,7 +42,6 @@ |
||
| 42 | 42 | use OC\Template\JSConfigHelper; |
| 43 | 43 | use OC\Template\SCSSCacher; |
| 44 | 44 | use OCP\Defaults; |
| 45 | -use OC\AppFramework\Http\Request; |
|
| 46 | 45 | |
| 47 | 46 | class TemplateLayout extends \OC_Template { |
| 48 | 47 | |
@@ -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; |