Remove incorrect log for Gerrit
Signed-off-by: droy <denis.roy@eclipse.org>
diff --git a/site_login/index.php b/site_login/index.php
index 99688d3..1faf5e6 100755
--- a/site_login/index.php
+++ b/site_login/index.php
@@ -157,18 +157,7 @@
$AccountCreator->setUsername($email);
$AccountCreator->setPassword($password);
$http_code = $AccountCreator->execute();
-
- $EventLog = new EvtLog();
- $EventLog->setLogTable("gerrit");
- $EventLog->setPK1($username);
- $EventLog->setPK2("site_login");
- if($http_code == "200") {
- $EventLog->setLogAction("GERRIT_LOGIN_SUCCESS");
- }
- else {
- $EventLog->setLogAction("GERRIT_LOGIN_FAILURE");
- }
- $EventLog->insertModLog($dn);
+ # TODO: verify that account was created (see bugzilla SQL below)
# Get BZ ID now that an acct should be created
@@ -179,6 +168,7 @@
# Load up Friend info
$Friend->selectFriend($Friend->selectFriendID("Bugzilla_ID", $myrow['userid']));
+ # TODO: log successful creation
}
else {
$EventLog = new EvtLog();