Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 849d83a

Browse files
committed
Remove unnecessary private option
1 parent add657c commit 849d83a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Auth/Process/PerunEntitlement.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class PerunEntitlement extends ProcessingFilter
3434
private $entitlementPrefix;
3535
private $entitlementAuthority;
3636
private $groupNameAARC;
37-
private $interface;
3837
private $adapter;
3938

4039
public function __construct($config, $reserved)
@@ -62,12 +61,12 @@ public function __construct($config, $reserved)
6261
$this->groupNameAARC ? Configuration::REQUIRED_OPTION : ''
6362
);
6463

65-
$this->interface = $configuration->getValueValidate(
64+
$interface = $configuration->getValueValidate(
6665
self::INTERFACE_PROPNAME,
6766
[Adapter::RPC, Adapter::LDAP],
6867
Adapter::RPC
6968
);
70-
$this->adapter = Adapter::getInstance($this->interface);
69+
$this->adapter = Adapter::getInstance($interface);
7170
}
7271

7372
public function process(&$request)

0 commit comments

Comments
 (0)