You are here

function forena_current_user_id in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 forena.module \forena_current_user_id()
  2. 7.3 forena.module \forena_current_user_id()
  3. 7.4 forena.module \forena_current_user_id()

Helper function for current user for the drupal instance

Return value

unknown

1 call to forena_current_user_id()
forena_current_user_uid in ./forena.module
Rename function for backwards compatibility
2 string references to 'forena_current_user_id'
forena_data_settings_edit in ./forena.admin.inc
settings.php in data/drupal/settings.php

File

./forena.module, line 1347

Code

function forena_current_user_id() {
  global $user;
  return $user->uid;
}