Skip to content

Commit b4f49d4

Browse files
committed
comment out functions not yet implemented
1 parent 5636c3f commit b4f49d4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

resources/lib/UnityGroup.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ public function disband(bool $send_mail = true): void
7979
// TODO optimmize
8080
// updateIsQualified() makes one LDAP query for each member
8181
// if user is no longer in any PI group, disqualify them
82-
foreach ($memberuids as $uid) {
83-
$user = new UnityUser($uid, $this->LDAP, $this->SQL, $this->MAILER, $this->WEBHOOK);
84-
$user->updateIsQualified($send_mail);
85-
}
82+
// FIXME uncomment
83+
// foreach ($memberuids as $uid) {
84+
// $user = new UnityUser($uid, $this->LDAP, $this->SQL, $this->MAILER, $this->WEBHOOK);
85+
// $user->updateIsQualified($send_mail);
86+
// }
8687
}
8788

8889
private function reinstate(bool $send_mail = true)
@@ -98,7 +99,8 @@ private function reinstate(bool $send_mail = true)
9899
if (!$this->memberUIDExists($owner_uid)) {
99100
$this->addMemberUID($owner_uid);
100101
}
101-
$this->getOwner()->updateIsQualified($send_mail);
102+
// FIXME uncomment
103+
// $this->getOwner()->updateIsQualified($send_mail);
102104
}
103105

104106
/**

0 commit comments

Comments
 (0)