aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-03-27 17:14:08 +0100
committerGitHub <noreply@github.com>2020-03-27 17:14:08 +0100
commit463b388589134fd816f1ff3ee5ce9dc76c3e4035 (patch)
treedbd2f8cb51cb74e1fa5a34291b8400926772d633 /core
parentad63c1da1b1d4781da76239bc54762aa51481b92 (diff)
parent74936c49eae91470ce2ec0cf1085d334011a4608 (diff)
downloadnextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.tar.gz
nextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.zip
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
Remove unused imports
Diffstat (limited to 'core')
-rw-r--r--core/Application.php1
-rw-r--r--core/Command/App/CheckCode.php1
-rw-r--r--core/Command/TwoFactorAuth/Disable.php1
-rw-r--r--core/Controller/CssController.php1
-rw-r--r--core/Controller/RecommendedAppsController.php1
-rw-r--r--core/Controller/SetupController.php1
-rw-r--r--core/Migrations/Version15000Date20181015062942.php1
-rw-r--r--core/Migrations/Version18000Date20191204114856.php1
8 files changed, 0 insertions, 8 deletions
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 0135e01f148..7449717831b 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;