Skip to content

Commit f2a7ab3

Browse files
authored
Merge pull request #23 from cmu-delphi/fix/signup-issue
Comment out suspect function
2 parents 8ad66f3 + ed0cb01 commit f2a7ab3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/common/database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ function getUserByEmail($dbh, &$output, $email) {
109109
}
110110
}
111111

112+
/*
112113
function getUserIDByMturkID($dbh, $mturkID) {
113114
$result = $dbh->query("SELECT `id` FROM ec_fluv_users_mturk_2019 WHERE `name` = '{$mturkID}'");
114115
if($row = $result->fetch_assoc()) {
@@ -117,6 +118,7 @@ function getUserIDByMturkID($dbh, $mturkID) {
117118
return -1;
118119
}
119120
}
121+
*/
120122

121123
function userAlreadyExist($dbh, $mturkID) {
122124
$result = $dbh->query("SELECT `name` FROM ec_fluv_users_mturk_2019 WHERE `name` = '{$mturkID}'");

0 commit comments

Comments
 (0)