Merge pull request #10023 from nextcloud/bugfix/noid/class-name-already-in-use

Use the correct Base class
This commit is contained in:
Morris Jobke 2018-06-27 17:21:37 +02:00 committed by GitHub
commit 9b2d855d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,6 @@ declare(strict_types = 1);
namespace OC\Core\Command\TwoFactorAuth; namespace OC\Core\Command\TwoFactorAuth;
use OC\Core\Command\Base;
use OCP\Authentication\TwoFactorAuth\IRegistry; use OCP\Authentication\TwoFactorAuth\IRegistry;
use OCP\IUserManager; use OCP\IUserManager;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
@ -38,9 +37,6 @@ class State extends Base {
/** @var IRegistry */ /** @var IRegistry */
private $registry; private $registry;
/** @var IUserManager */
private $userManager;
public function __construct(IRegistry $registry, IUserManager $userManager) { public function __construct(IRegistry $registry, IUserManager $userManager) {
parent::__construct('twofactorauth:state'); parent::__construct('twofactorauth:state');