@@ -25,14 +25,12 @@ |
||
25 | 25 | |
26 | 26 | namespace OC\Contacts\ContactsMenu; |
27 | 27 | |
28 | -use OC\Share\Share; |
|
29 | 28 | use OCP\Contacts\ContactsMenu\IEntry; |
30 | 29 | use OCP\Contacts\IManager; |
31 | 30 | use OCP\IConfig; |
32 | 31 | use OCP\IGroupManager; |
33 | 32 | use OCP\IUser; |
34 | 33 | use OCP\IUserManager; |
35 | -use OCP\IUserSession; |
|
36 | 34 | use OCP\Contacts\ContactsMenu\IContactsStore; |
37 | 35 | |
38 | 36 | class ContactsStore implements IContactsStore { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | use OCA\Encryption\KeyManager; |
33 | 33 | use OCA\Encryption\Crypto\Crypt; |
34 | 34 | use OCA\Encryption\Users\Setup; |
35 | -use OCP\App; |
|
36 | 35 | use OCP\ILogger; |
37 | 36 | use OCP\IUserSession; |
38 | 37 | use OCA\Encryption\Util; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Aws\Exception\MultipartUploadException; |
25 | 25 | use Aws\S3\MultipartUploader; |
26 | 26 | use Aws\S3\S3Client; |
27 | -use Psr\Http\Message\StreamInterface; |
|
28 | 27 | |
29 | 28 | const S3_UPLOAD_PART_SIZE = 524288000; // 500MB |
30 | 29 |
@@ -103,7 +103,6 @@ |
||
103 | 103 | use OC\Tagging\TagMapper; |
104 | 104 | use OC\Template\SCSSCacher; |
105 | 105 | use OCA\Theming\ThemingDefaults; |
106 | - |
|
107 | 106 | use OCP\App\IAppManager; |
108 | 107 | use OCP\AppFramework\Utility\ITimeFactory; |
109 | 108 | use OCP\Collaboration\AutoComplete\IManager; |
@@ -32,7 +32,6 @@ |
||
32 | 32 | use OCP\Mail\IEMailTemplate; |
33 | 33 | use OCP\Mail\IMailer; |
34 | 34 | use Sabre\CalDAV\Schedule\IMipPlugin as SabreIMipPlugin; |
35 | -use Sabre\DAV\Xml\Element\Prop; |
|
36 | 35 | use Sabre\VObject\Component\VCalendar; |
37 | 36 | use Sabre\VObject\Component\VEvent; |
38 | 37 | use Sabre\VObject\DateTimeParser; |
@@ -49,7 +49,6 @@ |
||
49 | 49 | use OCA\User_LDAP\User\Manager; |
50 | 50 | use OCA\User_LDAP\User\OfflineUser; |
51 | 51 | use OCA\User_LDAP\Mapping\AbstractMapping; |
52 | - |
|
53 | 52 | use OC\ServerNotAvailableException; |
54 | 53 | use OCP\IConfig; |
55 | 54 |
@@ -36,17 +36,12 @@ |
||
36 | 36 | namespace OC; |
37 | 37 | |
38 | 38 | use Doctrine\DBAL\Exception\TableExistsException; |
39 | -use OC\App\AppManager; |
|
40 | 39 | use OC\App\AppStore\Bundles\Bundle; |
41 | 40 | use OC\App\AppStore\Fetcher\AppFetcher; |
42 | -use OC\App\CodeChecker\CodeChecker; |
|
43 | -use OC\App\CodeChecker\EmptyCheck; |
|
44 | -use OC\App\CodeChecker\PrivateCheck; |
|
45 | 41 | use OC\Archive\TAR; |
46 | 42 | use OC_App; |
47 | 43 | use OC_DB; |
48 | 44 | use OC_Helper; |
49 | -use OCP\App\IAppManager; |
|
50 | 45 | use OCP\Http\Client\IClientService; |
51 | 46 | use OCP\IConfig; |
52 | 47 | use OCP\ILogger; |
@@ -51,10 +51,8 @@ |
||
51 | 51 | use Sabre\DAV\Exception\Forbidden; |
52 | 52 | use Sabre\DAV\Exception\NotFound; |
53 | 53 | use Sabre\DAV\PropPatch; |
54 | -use Sabre\HTTP\URLUtil; |
|
55 | 54 | use Sabre\VObject\Component; |
56 | 55 | use Sabre\VObject\Component\VCalendar; |
57 | -use Sabre\VObject\Component\VEvent; |
|
58 | 56 | use Sabre\VObject\Component\VTimeZone; |
59 | 57 | use Sabre\VObject\DateTimeParser; |
60 | 58 | use Sabre\VObject\InvalidDataException; |
@@ -31,7 +31,6 @@ |
||
31 | 31 | namespace OCA\Federation\BackgroundJob; |
32 | 32 | |
33 | 33 | use GuzzleHttp\Exception\ClientException; |
34 | -use GuzzleHttp\Exception\ConnectException; |
|
35 | 34 | use GuzzleHttp\Exception\RequestException; |
36 | 35 | use GuzzleHttp\Ring\Exception\RingException; |
37 | 36 | use OC\BackgroundJob\JobList; |