From 74936c49eae91470ce2ec0cf1085d334011a4608 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 25 Mar 2020 22:08:08 +0100 Subject: Remove unused imports Signed-off-by: Christoph Wurst --- core/Application.php | 1 - core/Command/App/CheckCode.php | 1 - core/Command/TwoFactorAuth/Disable.php | 1 - core/Controller/CssController.php | 1 - core/Controller/RecommendedAppsController.php | 1 - core/Controller/SetupController.php | 1 - core/Migrations/Version15000Date20181015062942.php | 1 - core/Migrations/Version18000Date20191204114856.php | 1 - 8 files changed, 8 deletions(-) (limited to 'core') diff --git a/core/Application.php b/core/Application.php index 879ac1cff74..c2da7f8d194 100644 --- a/core/Application.php +++ b/core/Application.php @@ -44,7 +44,6 @@ use OC\DB\SchemaWrapper; use OCP\AppFramework\App; use OCP\EventDispatcher\IEventDispatcher; use OCP\IDBConnection; -use OCP\IServerContainer; use OCP\User\Events\UserDeletedEvent; use OCP\Util; use Symfony\Component\EventDispatcher\GenericEvent; diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php index b658ccbe2ea..3a17114261f 100644 --- a/core/Command/App/CheckCode.php +++ b/core/Command/App/CheckCode.php @@ -34,7 +34,6 @@ use OC\App\CodeChecker\InfoChecker; use OC\App\CodeChecker\LanguageParseChecker; use OC\App\CodeChecker\PrivateCheck; use OC\App\CodeChecker\StrongComparisonCheck; -use OC\App\InfoParser; use Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface; use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; use Symfony\Component\Console\Command\Command; diff --git a/core/Command/TwoFactorAuth/Disable.php b/core/Command/TwoFactorAuth/Disable.php index d08bf7b767e..1dd3a2cf64d 100644 --- a/core/Command/TwoFactorAuth/Disable.php +++ b/core/Command/TwoFactorAuth/Disable.php @@ -23,7 +23,6 @@ namespace OC\Core\Command\TwoFactorAuth; -use OC\Authentication\TwoFactorAuth\Manager; use OC\Authentication\TwoFactorAuth\ProviderManager; use OCP\IUserManager; use Symfony\Component\Console\Input\InputArgument; diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php index b332ee1aa26..3e7215966bc 100644 --- a/core/Controller/CssController.php +++ b/core/Controller/CssController.php @@ -41,7 +41,6 @@ use OCP\Files\IAppData; use OCP\Files\NotFoundException; use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFolder; -use OCP\IConfig; use OCP\IRequest; class CssController extends Controller { diff --git a/core/Controller/RecommendedAppsController.php b/core/Controller/RecommendedAppsController.php index f0860f46a3f..fe3435d9be8 100644 --- a/core/Controller/RecommendedAppsController.php +++ b/core/Controller/RecommendedAppsController.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OC\Core\Controller; use OCP\AppFramework\Controller; -use OCP\AppFramework\Http\ContentSecurityPolicy; use OCP\AppFramework\Http\Response; use OCP\AppFramework\Http\StandaloneTemplateResponse; use OCP\IInitialStateService; diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php index 302edccf7a6..fc589392aca 100644 --- a/core/Controller/SetupController.php +++ b/core/Controller/SetupController.php @@ -34,7 +34,6 @@ namespace OC\Core\Controller; use OC\Setup; use OCP\ILogger; -use function urlencode; class SetupController { /** @var Setup */ diff --git a/core/Migrations/Version15000Date20181015062942.php b/core/Migrations/Version15000Date20181015062942.php index 22c430f7a96..eaeaf0dd268 100644 --- a/core/Migrations/Version15000Date20181015062942.php +++ b/core/Migrations/Version15000Date20181015062942.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OC\Core\Migrations; use Closure; -use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; diff --git a/core/Migrations/Version18000Date20191204114856.php b/core/Migrations/Version18000Date20191204114856.php index 995af4de2f1..256b42f9597 100644 --- a/core/Migrations/Version18000Date20191204114856.php +++ b/core/Migrations/Version18000Date20191204114856.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OC\Core\Migrations; use Closure; -use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; use OCP\IDBConnection; use OCP\Migration\SimpleMigrationStep; -- cgit v1.2.3