Cleans unecessary libs.
This commit is contained in:
parent
ec4c27e1f3
commit
0c5164f917
2 changed files with 3 additions and 27 deletions
|
@ -9,11 +9,8 @@ use OCP\AppFramework\Http\Response;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\IURLGenerator;
|
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OCP\Security\ISecureRandom;
|
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
||||||
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
||||||
|
@ -21,14 +18,8 @@ use OCA\SCIMServiceProvider\Responses\SCIMErrorResponse;
|
||||||
|
|
||||||
class GroupController extends ASCIMGroup {
|
class GroupController extends ASCIMGroup {
|
||||||
|
|
||||||
/** @var IURLGenerator */
|
|
||||||
protected $urlGenerator;
|
|
||||||
/** @var LoggerInterface */
|
/** @var LoggerInterface */
|
||||||
private $logger;
|
private $logger;
|
||||||
/** @var ISecureRandom */
|
|
||||||
private $secureRandom;
|
|
||||||
/** @var IEventDispatcher */
|
|
||||||
private $eventDispatcher;
|
|
||||||
|
|
||||||
public function __construct(string $appName,
|
public function __construct(string $appName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
|
@ -37,10 +28,7 @@ class GroupController extends ASCIMGroup {
|
||||||
IGroupManager $groupManager,
|
IGroupManager $groupManager,
|
||||||
IUserSession $userSession,
|
IUserSession $userSession,
|
||||||
IAccountManager $accountManager,
|
IAccountManager $accountManager,
|
||||||
IURLGenerator $urlGenerator,
|
LoggerInterface $logger) {
|
||||||
LoggerInterface $logger,
|
|
||||||
ISecureRandom $secureRandom,
|
|
||||||
IEventDispatcher $eventDispatcher) {
|
|
||||||
parent::__construct($appName,
|
parent::__construct($appName,
|
||||||
$request,
|
$request,
|
||||||
$userManager,
|
$userManager,
|
||||||
|
@ -49,10 +37,7 @@ class GroupController extends ASCIMGroup {
|
||||||
$userSession,
|
$userSession,
|
||||||
$accountManager);
|
$accountManager);
|
||||||
|
|
||||||
$this->urlGenerator = $urlGenerator;
|
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
$this->secureRandom = $secureRandom;
|
|
||||||
$this->eventDispatcher = $eventDispatcher;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -9,11 +9,9 @@ use OCP\AppFramework\Http\Response;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\IURLGenerator;
|
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
||||||
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
||||||
|
@ -21,14 +19,11 @@ use OCA\SCIMServiceProvider\Responses\SCIMErrorResponse;
|
||||||
|
|
||||||
class UserController extends ASCIMUser {
|
class UserController extends ASCIMUser {
|
||||||
|
|
||||||
/** @var IURLGenerator */
|
|
||||||
protected $urlGenerator;
|
|
||||||
/** @var LoggerInterface */
|
/** @var LoggerInterface */
|
||||||
private $logger;
|
private $logger;
|
||||||
/** @var ISecureRandom */
|
/** @var ISecureRandom */
|
||||||
private $secureRandom;
|
private $secureRandom;
|
||||||
/** @var IEventDispatcher */
|
|
||||||
private $eventDispatcher;
|
|
||||||
|
|
||||||
public function __construct(string $appName,
|
public function __construct(string $appName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
|
@ -37,10 +32,8 @@ class UserController extends ASCIMUser {
|
||||||
IGroupManager $groupManager,
|
IGroupManager $groupManager,
|
||||||
IUserSession $userSession,
|
IUserSession $userSession,
|
||||||
IAccountManager $accountManager,
|
IAccountManager $accountManager,
|
||||||
IURLGenerator $urlGenerator,
|
|
||||||
LoggerInterface $logger,
|
LoggerInterface $logger,
|
||||||
ISecureRandom $secureRandom,
|
ISecureRandom $secureRandom) {
|
||||||
IEventDispatcher $eventDispatcher) {
|
|
||||||
parent::__construct($appName,
|
parent::__construct($appName,
|
||||||
$request,
|
$request,
|
||||||
$userManager,
|
$userManager,
|
||||||
|
@ -49,10 +42,8 @@ class UserController extends ASCIMUser {
|
||||||
$userSession,
|
$userSession,
|
||||||
$accountManager);
|
$accountManager);
|
||||||
|
|
||||||
$this->urlGenerator = $urlGenerator;
|
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
$this->secureRandom = $secureRandom;
|
$this->secureRandom = $secureRandom;
|
||||||
$this->eventDispatcher = $eventDispatcher;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue