Infra 2088 - Remove the functionality to invalidate CLA in PeopleDocuments
Change-Id: I70ecdc65e0371d7ad708ba9cc5ce097f7721c807
Signed-off-by: Eric Poirier <eric@eclipse.org>
diff --git a/eclipse.org-common/classes/users/cla.class.php b/eclipse.org-common/classes/users/cla.class.php
index f141b7f..0529c73 100644
--- a/eclipse.org-common/classes/users/cla.class.php
+++ b/eclipse.org-common/classes/users/cla.class.php
@@ -587,13 +587,6 @@
)";
$result = $this->App->foundation_sql($sql);
- $sql = "UPDATE PeopleDocuments
- SET ExpirationDate=NOW()
- WHERE PersonID = ".$this->App->returnQuotedString($this->App->sqlSanitize($this->ldap_uid))."
- AND DocumentID = ".$this->App->returnQuotedString($this->App->sqlSanitize($document_id))."
- AND EffectiveDate = ".$this->App->returnQuotedString($this->App->sqlSanitize($document['EffectiveDate']));
- $result = $this->App->foundation_sql($sql);
-
// Invalidate the users LDAP group.
$this->_actionLdapGroupRecord('CLA_INVALIDATED');