From d3d045dd5c5af5f29268727afe63f3c53d22af6c Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 14 Feb 2018 16:55:43 +0100 Subject: Remove unused import statements Signed-off-by: Morris Jobke --- core/Command/Group/AddUser.php | 2 -- core/Command/Group/ListCommand.php | 3 --- core/Command/Group/RemoveUser.php | 2 -- core/Command/Maintenance/UpdateHtaccess.php | 4 ---- core/Command/Security/ImportCertificate.php | 3 --- core/Command/Security/ListCertificates.php | 2 -- core/Command/Security/RemoveCertificate.php | 3 --- core/Command/TwoFactorAuth/Base.php | 1 - core/Command/Upgrade.php | 1 - core/Command/User/Disable.php | 1 - core/Command/User/Enable.php | 1 - core/Command/User/Info.php | 2 -- core/Command/User/ListCommand.php | 1 - core/Controller/AvatarController.php | 1 - 14 files changed, 27 deletions(-) (limited to 'core') diff --git a/core/Command/Group/AddUser.php b/core/Command/Group/AddUser.php index 05ae4e2d526..738c25ae13d 100644 --- a/core/Command/Group/AddUser.php +++ b/core/Command/Group/AddUser.php @@ -26,10 +26,8 @@ namespace OC\Core\Command\Group; use OC\Core\Command\Base; use OCP\IGroupManager; use OCP\IUserManager; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class AddUser extends Base { diff --git a/core/Command/Group/ListCommand.php b/core/Command/Group/ListCommand.php index f3703bc1099..a2b694b30e4 100644 --- a/core/Command/Group/ListCommand.php +++ b/core/Command/Group/ListCommand.php @@ -26,9 +26,6 @@ namespace OC\Core\Command\Group; use OC\Core\Command\Base; use OCP\IGroup; use OCP\IGroupManager; -use OCP\IUser; -use OCP\IUserManager; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/core/Command/Group/RemoveUser.php b/core/Command/Group/RemoveUser.php index 09f081004d2..964691597bf 100644 --- a/core/Command/Group/RemoveUser.php +++ b/core/Command/Group/RemoveUser.php @@ -26,10 +26,8 @@ namespace OC\Core\Command\Group; use OC\Core\Command\Base; use OCP\IGroupManager; use OCP\IUserManager; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class RemoveUser extends Base { diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php index 001f07187d6..04c870f07a4 100644 --- a/core/Command/Maintenance/UpdateHtaccess.php +++ b/core/Command/Maintenance/UpdateHtaccess.php @@ -22,12 +22,8 @@ */ namespace OC\Core\Command\Maintenance; -use InvalidArgumentException; -use OC\Setup; -use OCP\IConfig; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class UpdateHtaccess extends Command { diff --git a/core/Command/Security/ImportCertificate.php b/core/Command/Security/ImportCertificate.php index 38a774add50..02c64b81d9a 100644 --- a/core/Command/Security/ImportCertificate.php +++ b/core/Command/Security/ImportCertificate.php @@ -24,11 +24,8 @@ namespace OC\Core\Command\Security; use OC\Core\Command\Base; use OCP\ICertificateManager; -use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class ImportCertificate extends Base { diff --git a/core/Command/Security/ListCertificates.php b/core/Command/Security/ListCertificates.php index fe19348876a..2ee9909813c 100644 --- a/core/Command/Security/ListCertificates.php +++ b/core/Command/Security/ListCertificates.php @@ -26,10 +26,8 @@ use OC\Core\Command\Base; use OCP\ICertificate; use OCP\ICertificateManager; use OCP\IL10N; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class ListCertificates extends Base { diff --git a/core/Command/Security/RemoveCertificate.php b/core/Command/Security/RemoveCertificate.php index 8be7123ad08..31ddc73877b 100644 --- a/core/Command/Security/RemoveCertificate.php +++ b/core/Command/Security/RemoveCertificate.php @@ -25,11 +25,8 @@ namespace OC\Core\Command\Security; use OC\Core\Command\Base; use OCP\ICertificateManager; -use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class RemoveCertificate extends Base { diff --git a/core/Command/TwoFactorAuth/Base.php b/core/Command/TwoFactorAuth/Base.php index c5340656534..aa4f40fc771 100644 --- a/core/Command/TwoFactorAuth/Base.php +++ b/core/Command/TwoFactorAuth/Base.php @@ -25,7 +25,6 @@ namespace OC\Core\Command\TwoFactorAuth; use OCP\IUserManager; use OCP\IUser; -use Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface; use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; class Base extends \OC\Core\Command\Base { diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 1611b121f33..5a2deea0b6c 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -44,7 +44,6 @@ use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\EventDispatcher\GenericEvent; class Upgrade extends Command { diff --git a/core/Command/User/Disable.php b/core/Command/User/Disable.php index 94be87e6ee0..7c6e8315702 100644 --- a/core/Command/User/Disable.php +++ b/core/Command/User/Disable.php @@ -22,7 +22,6 @@ namespace OC\Core\Command\User; -use OCP\IUser; use OCP\IUserManager; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; diff --git a/core/Command/User/Enable.php b/core/Command/User/Enable.php index d8a983155d2..164027d809a 100644 --- a/core/Command/User/Enable.php +++ b/core/Command/User/Enable.php @@ -22,7 +22,6 @@ namespace OC\Core\Command\User; -use OCP\IUser; use OCP\IUserManager; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php index f1b5579eb94..3906f40c6a0 100644 --- a/core/Command/User/Info.php +++ b/core/Command/User/Info.php @@ -25,9 +25,7 @@ namespace OC\Core\Command\User; use OC\Core\Command\Base; use OCP\IGroupManager; -use OCP\IUser; use OCP\IUserManager; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/core/Command/User/ListCommand.php b/core/Command/User/ListCommand.php index 77d99eb2130..06ba1f0b858 100644 --- a/core/Command/User/ListCommand.php +++ b/core/Command/User/ListCommand.php @@ -26,7 +26,6 @@ namespace OC\Core\Command\User; use OC\Core\Command\Base; use OCP\IUser; use OCP\IUserManager; -use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index 0d0a0274414..14709d65fed 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -34,7 +34,6 @@ use OCP\AppFramework\Http\FileDisplayResponse; use OCP\AppFramework\Http\JSONResponse; use OCP\Files\File; use OCP\Files\IRootFolder; -use OCP\Files\NotFoundException; use OCP\IAvatarManager; use OCP\ICache; use OCP\ILogger; -- cgit v1.2.3