Skip to content

Commit 306f91e

Browse files
committed
remove more redis
1 parent c6cea45 commit 306f91e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

resources/lib/UnityLDAP.php

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,7 @@ public function getQualifiedUsers(
207207
foreach ($qualifiedUsers as $user) {
208208
array_push(
209209
$out,
210-
new UnityUser(
211-
$user,
212-
$this,
213-
$UnitySQL,
214-
$UnityMailer,
215-
$UnityRedis,
216-
$UnityWebhook,
217-
),
210+
new UnityUser($user, $this, $UnitySQL, $UnityMailer, $UnityWebhook),
218211
);
219212
}
220213
return $out;
@@ -252,7 +245,6 @@ public function getQualifiedUsersAttributes(
252245
public function getAllPIGroups(
253246
UnitySQL $UnitySQL,
254247
UnityMailer $UnityMailer,
255-
UnityRedis $UnityRedis,
256248
UnityWebhook $UnityWebhook,
257249
bool $ignorecache = false,
258250
) {
@@ -280,7 +272,6 @@ public function getAllPIGroups(
280272
$this,
281273
$UnitySQL,
282274
$UnityMailer,
283-
$UnityRedis,
284275
$UnityWebhook,
285276
),
286277
);
@@ -374,7 +365,6 @@ public function getQualifiedUID2PIGIDs(): array
374365
public function getAllOrgGroups(
375366
$UnitySQL,
376367
$UnityMailer,
377-
$UnityRedis,
378368
$UnityWebhook,
379369
$ignorecache = false,
380370
): array {
@@ -386,14 +376,7 @@ public function getAllOrgGroups(
386376
foreach ($orgs as $org) {
387377
array_push(
388378
$out,
389-
new UnityOrg(
390-
$org,
391-
$this,
392-
$UnitySQL,
393-
$UnityMailer,
394-
$UnityRedis,
395-
$UnityWebhook,
396-
),
379+
new UnityOrg($org, $this, $UnitySQL, $UnityMailer, $UnityWebhook),
397380
);
398381
}
399382
return $out;
@@ -410,7 +393,6 @@ public function getAllOrgGroups(
410393
$this,
411394
$UnitySQL,
412395
$UnityMailer,
413-
$UnityRedis,
414396
$UnityWebhook,
415397
),
416398
);

0 commit comments

Comments
 (0)