This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class PerunEntitlement extends ProcessingFilter
4040 public function __construct ($ config , $ reserved )
4141 {
4242 parent ::__construct ($ config , $ reserved );
43- $ conf = Configuration::getConfig (self ::CONFIG_FILE_NAME );
43+ $ modulePerunConfiguration = Configuration::getConfig (self ::CONFIG_FILE_NAME );
4444 assert ('is_array($config) ' );
4545
4646 if (!isset ($ config [self ::EDU_PERSON_ENTITLEMENT ])) {
@@ -63,9 +63,9 @@ public function __construct($config, $reserved)
6363 }
6464 $ this ->forwardedEduPersonEntitlement = $ config [self ::FORWARDED_EDU_PERSON_ENTITLEMENT ];
6565
66- $ this ->entitlementPrefix = $ conf ->getString (self ::ENTITLEMENTPREFIX_ATTR , '' );
67- $ this ->entitlementAuthority = $ conf ->getString (self ::ENTITLEMENTAUTHORITY_ATTR , '' );
68- $ this ->groupNameAARC = $ conf ->getBoolean (self ::GROUPNAMEAARC_ATTR , false );
66+ $ this ->entitlementPrefix = $ modulePerunConfiguration ->getString (self ::ENTITLEMENTPREFIX_ATTR , '' );
67+ $ this ->entitlementAuthority = $ modulePerunConfiguration ->getString (self ::ENTITLEMENTAUTHORITY_ATTR , '' );
68+ $ this ->groupNameAARC = $ modulePerunConfiguration ->getBoolean (self ::GROUPNAMEAARC_ATTR , false );
6969
7070 if ($ this ->groupNameAARC && (empty ($ this ->entitlementAuthority ) || empty ($ this ->entitlementPrefix ))) {
7171 throw new Exception (
You can’t perform that action at this time.
0 commit comments