You are here

function forena_current_user_id in Forena Reports 7.3

Same name and namespace in other branches
  1. 8 forena.module \forena_current_user_id()
  2. 7.5 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 repos/drupal/settings.php

File

./forena.module, line 1132

Code

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