function devel_get_users
Same name in other branches
- 6.x-1.x devel_generate.inc \devel_get_users()
1 call to devel_get_users()
- devel_generate_content_pre_node in devel_generate/
devel_generate.inc - Pre-process the devel_generate_content_form request. This is needed so batch api can get the list of users once. This is used by both the batch and non-batch branches of the code.
File
-
devel_generate/
devel_generate.inc, line 580
Code
function devel_get_users() {
$users = array();
$result = db_query_range("SELECT uid FROM {users}", 0, 50);
foreach ($result as $record) {
$users[] = $record->uid;
}
return $users;
}