You are here

function forena_current_user_email in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.4 forena.module \forena_current_user_email()

Helper function for current user for the drupal instance

Return value

unknown

File

./forena.module, line 1367

Code

function forena_current_user_email() {
  global $user;
  if (isset($user->name)) {
    return $user->mail;
  }
}