aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/Settings/Admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/lib/Settings/Admin.php')
-rw-r--r--apps/federatedfilesharing/lib/Settings/Admin.php21
1 files changed, 5 insertions, 16 deletions
diff --git a/apps/federatedfilesharing/lib/Settings/Admin.php b/apps/federatedfilesharing/lib/Settings/Admin.php
index a7bdc545413..1343513e65a 100644
--- a/apps/federatedfilesharing/lib/Settings/Admin.php
+++ b/apps/federatedfilesharing/lib/Settings/Admin.php
@@ -14,27 +14,16 @@ use OCP\IURLGenerator;
use OCP\Settings\IDelegatedSettings;
class Admin implements IDelegatedSettings {
- private FederatedShareProvider $fedShareProvider;
- private IConfig $gsConfig;
- private IL10N $l;
- private IURLGenerator $urlGenerator;
- private IInitialState $initialState;
-
/**
* Admin constructor.
*/
public function __construct(
- FederatedShareProvider $fedShareProvider,
- IConfig $globalScaleConfig,
- IL10N $l,
- IURLGenerator $urlGenerator,
- IInitialState $initialState,
+ private FederatedShareProvider $fedShareProvider,
+ private IConfig $gsConfig,
+ private IL10N $l,
+ private IURLGenerator $urlGenerator,
+ private IInitialState $initialState,
) {
- $this->fedShareProvider = $fedShareProvider;
- $this->gsConfig = $globalScaleConfig;
- $this->l = $l;
- $this->urlGenerator = $urlGenerator;
- $this->initialState = $initialState;
}
/**