Get rid of ILogger.
This commit is contained in:
@@ -37,7 +37,7 @@ use OCA\UserSQL\Repository\UserRepository;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use OCP\IConfig;
|
||||
use OCP\IL10N;
|
||||
use OCP\ILogger;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use OCP\Security\Events\ValidatePasswordPolicyEvent;
|
||||
use OCP\User\Backend\ABackend;
|
||||
use OCP\User\Backend\ICheckPasswordBackend;
|
||||
@@ -69,7 +69,7 @@ final class UserBackend extends ABackend implements
|
||||
*/
|
||||
private $appName;
|
||||
/**
|
||||
* @var ILogger The logger instance.
|
||||
* @var LoggerInterface The logger instance.
|
||||
*/
|
||||
private $logger;
|
||||
/**
|
||||
@@ -106,7 +106,7 @@ final class UserBackend extends ABackend implements
|
||||
*
|
||||
* @param string $AppName The application name.
|
||||
* @param Cache $cache The cache instance.
|
||||
* @param ILogger $logger The logger instance.
|
||||
* @param LoggerInterface $logger The logger instance.
|
||||
* @param Properties $properties The properties array.
|
||||
* @param UserRepository $userRepository The user repository.
|
||||
* @param IL10N $localization The localization service.
|
||||
@@ -114,7 +114,7 @@ final class UserBackend extends ABackend implements
|
||||
* @param IEventDispatcher $eventDispatcher The event dispatcher.
|
||||
*/
|
||||
public function __construct(
|
||||
$AppName, Cache $cache, ILogger $logger, Properties $properties,
|
||||
$AppName, Cache $cache, LoggerInterface $logger, Properties $properties,
|
||||
UserRepository $userRepository, IL10N $localization, IConfig $config,
|
||||
IEventDispatcher $eventDispatcher
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user