You are here

function forena_current_user_name in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 forena.module \forena_current_user_name()
  2. 6.2 forena.module \forena_current_user_name()
  3. 6 forena.module \forena_current_user_name()
  4. 7 forena.module \forena_current_user_name()
  5. 7.2 forena.module \forena_current_user_name()
  6. 7.3 forena.module \forena_current_user_name()
  7. 7.4 forena.module \forena_current_user_name()

Helper function for current user for the drupal instance

Return value

unknown

File

./forena.module, line 1357

Code

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