@@ -23,7 +23,6 @@ |
||
23 | 23 | namespace OC\User; |
24 | 24 | |
25 | 25 | |
26 | -use OCP\IImage; |
|
27 | 26 | use OCP\IUser; |
28 | 27 | |
29 | 28 | /** |
@@ -46,8 +46,6 @@ |
||
46 | 46 | use OC\AppFramework\Utility\TimeFactory; |
47 | 47 | use OC\Command\AsyncBus; |
48 | 48 | use OC\Diagnostics\EventLogger; |
49 | -use OC\Diagnostics\NullEventLogger; |
|
50 | -use OC\Diagnostics\NullQueryLogger; |
|
51 | 49 | use OC\Diagnostics\QueryLogger; |
52 | 50 | use OC\Files\Config\UserMountCache; |
53 | 51 | use OC\Files\Config\UserMountCacheListener; |
@@ -33,14 +33,12 @@ |
||
33 | 33 | use Doctrine\DBAL\Configuration; |
34 | 34 | use Doctrine\DBAL\Cache\QueryCacheProfile; |
35 | 35 | use Doctrine\Common\EventManager; |
36 | -use Doctrine\DBAL\Exception\ConstraintViolationException; |
|
37 | 36 | use Doctrine\DBAL\Platforms\MySqlPlatform; |
38 | 37 | use Doctrine\DBAL\Schema\Schema; |
39 | 38 | use OC\DB\QueryBuilder\QueryBuilder; |
40 | 39 | use OCP\DB\QueryBuilder\IQueryBuilder; |
41 | 40 | use OCP\IDBConnection; |
42 | 41 | use OCP\PreConditionNotMetException; |
43 | -use OCP\Util; |
|
44 | 42 | |
45 | 43 | class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { |
46 | 44 | /** |
@@ -1,12 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace OC\Migrations; |
3 | 3 | |
4 | -use OC\User\Account; |
|
5 | 4 | use OC\User\AccountMapper; |
6 | 5 | use OC\User\AccountTermMapper; |
7 | 6 | use OC\User\Database; |
8 | 7 | use OC\User\SyncService; |
9 | -use OCP\IConfig; |
|
10 | 8 | use OCP\Migration\ISimpleMigration; |
11 | 9 | use OCP\Migration\IOutput; |
12 | 10 |
@@ -49,7 +49,6 @@ |
||
49 | 49 | use OC\App\Platform; |
50 | 50 | use OC\Installer; |
51 | 51 | use OC\Repair; |
52 | -use OC\HintException; |
|
53 | 52 | |
54 | 53 | /** |
55 | 54 | * This class manages the apps. It allows them to register and integrate in the |
@@ -38,9 +38,6 @@ |
||
38 | 38 | |
39 | 39 | namespace OC; |
40 | 40 | |
41 | -use OC\App\CodeChecker\CodeChecker; |
|
42 | -use OC\App\CodeChecker\EmptyCheck; |
|
43 | -use OC\App\CodeChecker\PrivateCheck; |
|
44 | 41 | use OC_App; |
45 | 42 | use OC_DB; |
46 | 43 | use OC_Helper; |
@@ -31,10 +31,8 @@ |
||
31 | 31 | |
32 | 32 | namespace OC\Settings; |
33 | 33 | |
34 | -use OC\Files\View; |
|
35 | 34 | use OC\Server; |
36 | 35 | use OC\AppFramework\Utility\TimeFactory; |
37 | -use OC\Settings\Controller\CorsController; |
|
38 | 36 | use OC\Settings\Controller\SettingsPageController; |
39 | 37 | use OC\Settings\Controller\AppSettingsController; |
40 | 38 | use OC\Settings\Controller\AuthSettingsController; |