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\IGroupManager;
|
||||
use OCP\IRequest;
|
||||
use OCP\IURLGenerator;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IUserSession;
|
||||
use OCP\Security\ISecureRandom;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
||||
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
||||
|
@ -21,14 +18,8 @@ use OCA\SCIMServiceProvider\Responses\SCIMErrorResponse;
|
|||
|
||||
class GroupController extends ASCIMGroup {
|
||||
|
||||
/** @var IURLGenerator */
|
||||
protected $urlGenerator;
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
/** @var ISecureRandom */
|
||||
private $secureRandom;
|
||||
/** @var IEventDispatcher */
|
||||
private $eventDispatcher;
|
||||
|
||||
public function __construct(string $appName,
|
||||
IRequest $request,
|
||||
|
@ -37,10 +28,7 @@ class GroupController extends ASCIMGroup {
|
|||
IGroupManager $groupManager,
|
||||
IUserSession $userSession,
|
||||
IAccountManager $accountManager,
|
||||
IURLGenerator $urlGenerator,
|
||||
LoggerInterface $logger,
|
||||
ISecureRandom $secureRandom,
|
||||
IEventDispatcher $eventDispatcher) {
|
||||
LoggerInterface $logger) {
|
||||
parent::__construct($appName,
|
||||
$request,
|
||||
$userManager,
|
||||
|
@ -49,10 +37,7 @@ class GroupController extends ASCIMGroup {
|
|||
$userSession,
|
||||
$accountManager);
|
||||
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
$this->logger = $logger;
|
||||
$this->secureRandom = $secureRandom;
|
||||
$this->eventDispatcher = $eventDispatcher;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,11 +9,9 @@ use OCP\AppFramework\Http\Response;
|
|||
use OCP\IConfig;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IRequest;
|
||||
use OCP\IURLGenerator;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IUserSession;
|
||||
use OCP\Security\ISecureRandom;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
||||
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
||||
|
@ -21,14 +19,11 @@ use OCA\SCIMServiceProvider\Responses\SCIMErrorResponse;
|
|||
|
||||
class UserController extends ASCIMUser {
|
||||
|
||||
/** @var IURLGenerator */
|
||||
protected $urlGenerator;
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
/** @var ISecureRandom */
|
||||
private $secureRandom;
|
||||
/** @var IEventDispatcher */
|
||||
private $eventDispatcher;
|
||||
|
||||
|
||||
public function __construct(string $appName,
|
||||
IRequest $request,
|
||||
|
@ -37,10 +32,8 @@ class UserController extends ASCIMUser {
|
|||
IGroupManager $groupManager,
|
||||
IUserSession $userSession,
|
||||
IAccountManager $accountManager,
|
||||
IURLGenerator $urlGenerator,
|
||||
LoggerInterface $logger,
|
||||
ISecureRandom $secureRandom,
|
||||
IEventDispatcher $eventDispatcher) {
|
||||
ISecureRandom $secureRandom) {
|
||||
parent::__construct($appName,
|
||||
$request,
|
||||
$userManager,
|
||||
|
@ -49,10 +42,8 @@ class UserController extends ASCIMUser {
|
|||
$userSession,
|
||||
$accountManager);
|
||||
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
$this->logger = $logger;
|
||||
$this->secureRandom = $secureRandom;
|
||||
$this->eventDispatcher = $eventDispatcher;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue