You are here

function mediafront_user_get_status in MediaFront 6

Same name and namespace in other branches
  1. 6.2 plugins/mediafront_user/mediafront_user.module \mediafront_user_get_status()

Returns the user status.

1 call to mediafront_user_get_status()
mediafront_user_token_values in plugins/mediafront_user/mediafront_user.module
Implementation of hook_token_values().

File

plugins/mediafront_user/mediafront_user.module, line 51

Code

function mediafront_user_get_status($uid) {
  return db_fetch_object(db_query("SELECT * FROM {mediafront_user} WHERE uid=%d", $uid));
}