@@ -23,10 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace OC\Files\ObjectStore; |
| 25 | 25 | |
| 26 | -use Aws\Exception\MultipartUploadException; |
|
| 27 | -use Aws\S3\MultipartUploader; |
|
| 28 | 26 | use Aws\S3\S3Client; |
| 29 | -use Psr\Http\Message\StreamInterface; |
|
| 30 | 27 | |
| 31 | 28 | const S3_UPLOAD_PART_SIZE = 524288000; // 500MB |
| 32 | 29 | |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use OCP\IDBConnection; |
| 32 | 32 | use OCP\Migration\IMigrationStep; |
| 33 | 33 | use OCP\Migration\IOutput; |
| 34 | -use Doctrine\DBAL\Schema\Column; |
|
| 35 | 34 | use Doctrine\DBAL\Schema\Table; |
| 36 | 35 | use Doctrine\DBAL\Types\Type; |
| 37 | 36 | |
@@ -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 | /** |
@@ -92,7 +92,6 @@ discard block |
||
| 92 | 92 | use OC\OCS\DiscoveryService; |
| 93 | 93 | use OC\Remote\Api\ApiFactory; |
| 94 | 94 | use OC\Remote\InstanceFactory; |
| 95 | -use OC\Repair\NC11\CleanPreviewsBackgroundJob; |
|
| 96 | 95 | use OC\RichObjectStrings\Validator; |
| 97 | 96 | use OC\Security\Bruteforce\Throttler; |
| 98 | 97 | use OC\Security\CertificateManager; |
@@ -112,7 +111,6 @@ discard block |
||
| 112 | 111 | use OC\Template\JSCombiner; |
| 113 | 112 | use OC\Template\SCSSCacher; |
| 114 | 113 | use OCA\Theming\ThemingDefaults; |
| 115 | - |
|
| 116 | 114 | use OCP\App\IAppManager; |
| 117 | 115 | use OCP\AppFramework\Utility\ITimeFactory; |
| 118 | 116 | use OCP\Collaboration\AutoComplete\IManager; |
@@ -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 |