This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class ListOfSps
55{
66 public static function sortByName ($ a , $ b )
77 {
8- return strcmp (strtolower ($ a ['facility ' ]-> getName ()) , strtolower ($ b ['facility ' ]-> getName () ));
8+ return strcmp (strtolower ($ a ['name ' ][ ' value ' ]) , strtolower ($ b ['name ' ][ ' value ' ] ));
99 }
1010
1111 public static function getClass ($ type )
Original file line number Diff line number Diff line change 22
33use SimpleSAML \Module \perun \AdapterRpc ;
44use SimpleSAML \Configuration ;
5+ use SimpleSAML \Module \perun \AttributeUtils ;
56use SimpleSAML \XHTML \Template ;
67use SimpleSAML \Error \Exception ;
7- use SimpleSAML \Module \perun \ListOfSps ;
88
99const CONFIG_FILE_NAME = 'module_perun.php ' ;
1010const PROXY_IDENTIFIER = 'listOfSps.proxyIdentifier ' ;
3131 );
3232}
3333
34- $ perunProxyIdentifierAttr = $ conf ->getString (PERUN_PROXY_IDENTIFIER_ATTR_NAME );
34+ $ perunProxyIdentifierAttr = AttributeUtils::getAttrName (
35+ $ conf ->getString (PERUN_PROXY_IDENTIFIER_ATTR_NAME ),
36+ AdapterRpc::RPC
37+ );
3538if (empty ($ perunProxyIdentifierAttr )) {
3639 throw new Exception (
3740 'perun:listOfSps: missing mandatory config option \''
You can’t perform that action at this time.
0 commit comments