- remove old user_update_complete function, each user type now updates their

individual complete entry.
This commit is contained in:
dave 2008-10-19 15:49:28 +00:00
parent 74fe5db9f7
commit f9d3913697

View File

@ -783,20 +783,6 @@ function user_personal_info_status($u = false)
return 'complete';
}
function user_update_complete(&$u, $status)
{
if($status == 'complete' && $u['complete'] != 'yes') {
mysql_query("UPDATE users SET complete='yes' WHERE id='{$_SESSION['users_id']}'");
$u['complete'] = 'yes';
return;
}
if($status != 'complete' && $u['complete'] == 'yes') {
mysql_query("UPDATE users SET complete='no' WHERE id='{$_SESSION['users_id']}'");
$u['complete'] = 'no';
return;
}
}
function user_committee_login($u)
{
/* Double check, make sure the user is of this type */