You are here

function contribute_get_user_balance in Contribute 6

3 calls to contribute_get_user_balance()
contribute_form_submit in ./contribute.module
contribute_form_validate in ./contribute.module
_contribute_account_summary in ./contribute.module

File

./contribute.module, line 364
Lets users contribute to projects

Code

function contribute_get_user_balance($uid) {
  $result = db_query('SELECT balance FROM {contribute_account_balances WHERE uid=%d}', $uid);
  return db_result($result);
}