aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/PreferencesController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/lib/Controller/PreferencesController.php')
-rw-r--r--apps/provisioning_api/lib/Controller/PreferencesController.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/provisioning_api/lib/Controller/PreferencesController.php b/apps/provisioning_api/lib/Controller/PreferencesController.php
index f230d1d781f..672aec7756c 100644
--- a/apps/provisioning_api/lib/Controller/PreferencesController.php
+++ b/apps/provisioning_api/lib/Controller/PreferencesController.php
@@ -22,21 +22,14 @@ use OCP\IUserSession;
class PreferencesController extends OCSController {
- private IConfig $config;
- private IUserSession $userSession;
- private IEventDispatcher $eventDispatcher;
-
public function __construct(
string $appName,
IRequest $request,
- IConfig $config,
- IUserSession $userSession,
- IEventDispatcher $eventDispatcher,
+ private IConfig $config,
+ private IUserSession $userSession,
+ private IEventDispatcher $eventDispatcher,
) {
parent::__construct($appName, $request);
- $this->config = $config;
- $this->userSession = $userSession;
- $this->eventDispatcher = $eventDispatcher;
}
/**