function cf_get_user in Common Functionality 7.2
Same name and namespace in other branches
- 7 cf.module \cf_get_user()
This is a compatibility function for cf-1.x.
Do not use this. Use cf_current_user() instead.
@see: cf_current_user()
Parameters
bool $reset: TRUE to reset the internal cache and load from the database. FALSE (default) to load from the internal cache, if set.
array $function_history: (optional) An array of function names, ie: array('0' => 'my_function_name').
Return value
object|FALSE A copy of the global variable $user. Changes to this variable will not be retained.
Related topics
File
- modules/
cf_1x_compatibility/ cf_1x_compatibility.module, line 34 - Common Functionality - 1.x Compatibility module.
Code
function cf_get_user($reset = FALSE, $function_history = array()) {
return cf_current_user($reset);
}