Skip to content

Commit 2351869

Browse files
committed
remove default value for attributes
1 parent 59a4cfa commit 2351869

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/lib/UnityLDAP.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function getAllUsers($UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook,
257257
return $out;
258258
}
259259

260-
public function getAllUsersAttributes($attributes = [])
260+
public function getAllUsersAttributes($attributes)
261261
{
262262
$include_uids = $this->getAllUsersAttributes();
263263
$user_attributes = $this->baseOU->getChildrenArray(
@@ -305,7 +305,7 @@ public function getAllPIGroups($UnitySQL, $UnityMailer, $UnityRedis, $UnityWebho
305305
return $out;
306306
}
307307

308-
public function getAllPIGroupsAttributes($attributes = [])
308+
public function getAllPIGroupsAttributes($attributes)
309309
{
310310
return $this->pi_groupOU->getChildrenArray($attributes);
311311
}
@@ -322,7 +322,7 @@ public function getPIGroupGIDsWithMemberUID($uid)
322322
);
323323
}
324324

325-
public function getAllPIGroupOwnerAttributes($attributes = [])
325+
public function getAllPIGroupOwnerAttributes($attributes)
326326
{
327327
// get the PI groups, filter for just the GIDs, then map the GIDs to owner UIDs
328328
$owner_uids = array_map(
@@ -388,7 +388,7 @@ public function getAllOrgGroups($UnitySQL, $UnityMailer, $UnityRedis, $UnityWebh
388388
return $out;
389389
}
390390

391-
public function getAllOrgGroupsAttributes($attributes = [])
391+
public function getAllOrgGroupsAttributes($attributes)
392392
{
393393
return $this->org_groupOU->getChildrenArray($attributes);
394394
}

0 commit comments

Comments
 (0)