From 1ccb36a0f1169a416669498d23d8dab1305f5f45 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 13 Jun 2018 21:25:21 +0200 Subject: Cleanup Controller Signed-off-by: Roeland Jago Douma --- apps/oauth2/lib/Controller/SettingsController.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'apps/oauth2/lib/Controller/SettingsController.php') diff --git a/apps/oauth2/lib/Controller/SettingsController.php b/apps/oauth2/lib/Controller/SettingsController.php index 202db0b1835..34d88c3fe40 100644 --- a/apps/oauth2/lib/Controller/SettingsController.php +++ b/apps/oauth2/lib/Controller/SettingsController.php @@ -1,4 +1,5 @@ * @@ -27,14 +28,10 @@ use OCA\OAuth2\Db\Client; use OCA\OAuth2\Db\ClientMapper; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\JSONResponse; -use OCP\AppFramework\Http\RedirectResponse; use OCP\IRequest; -use OCP\IURLGenerator; use OCP\Security\ISecureRandom; class SettingsController extends Controller { - /** @var IURLGenerator */ - private $urlGenerator; /** @var ClientMapper */ private $clientMapper; /** @var ISecureRandom */ @@ -49,7 +46,6 @@ class SettingsController extends Controller { /** * @param string $appName * @param IRequest $request - * @param IURLGenerator $urlGenerator * @param ClientMapper $clientMapper * @param ISecureRandom $secureRandom * @param AccessTokenMapper $accessTokenMapper @@ -57,14 +53,12 @@ class SettingsController extends Controller { */ public function __construct(string $appName, IRequest $request, - IURLGenerator $urlGenerator, ClientMapper $clientMapper, ISecureRandom $secureRandom, AccessTokenMapper $accessTokenMapper, DefaultTokenMapper $defaultTokenMapper ) { parent::__construct($appName, $request); - $this->urlGenerator = $urlGenerator; $this->secureRandom = $secureRandom; $this->clientMapper = $clientMapper; $this->accessTokenMapper = $accessTokenMapper; -- cgit v1.2.3