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 34
34
// phpcs:enable
35
35
sort ($ user_CNs );
36
36
$ REDIS ->setCache ("sorted_users " , "" , $ user_CNs );
37
- foreach ($ users as $ user ){
37
+ foreach ($ users as $ user ) {
38
38
$ attribute_array = UnityLDAP::parseUserChildrenArray ($ user );
39
- foreach ($ attribute_array as $ key => $ val ){
39
+ foreach ($ attribute_array as $ key => $ val ) {
40
40
$ REDIS ->setCache ($ user ["cn " ][0 ], $ key , $ val );
41
41
}
42
42
}
50
50
// phpcs:enable
51
51
sort ($ org_group_CNs );
52
52
$ REDIS ->setCache ("sorted_orgs " , "" , $ org_group_CNs );
53
- foreach ($ org_groups as $ org_group ){
53
+ foreach ($ org_groups as $ org_group ) {
54
54
$ REDIS ->setCache ($ org_group ["cn " ][0 ], "members " , $ org_group ["memberuid " ]);
55
55
}
56
56
65
65
// FIXME should be sorted_pi_groups
66
66
$ REDIS ->setCache ("sorted_groups " , "" , $ pi_group_CNs );
67
67
$ user_pi_group_member_of = [];
68
- foreach ($ user_CNs as $ uid ){
68
+ foreach ($ user_CNs as $ uid ) {
69
69
$ user_pi_group_member_of [$ uid ] = [];
70
70
}
71
71
foreach ($ pi_groups as $ pi_group ) {
You can’t perform that action at this time.
0 commit comments