science-ation/committee.inc.php
2010-07-13 03:30:12 +00:00

16 lines
271 B
PHP

<?
function committee_status_update(&$u)
{
global $config;
if( user_personal_info_status($u) == 'complete')
$u['committee_complete'] = 'yes';
else
$u['committee_complete'] = 'no';
return ($u['committee_complete'] == 'yes') ? 'complete' : 'incomplete';
}
?>