function devel_get_users

Same name in other branches
  1. 7.x-1.x devel_generate/devel_generate.inc \devel_get_users()
1 call to devel_get_users()
devel_generate_content_pre_node in ./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.inc, line 375

Code

function devel_get_users() {
    $users = array();
    $result = db_query_range("SELECT uid FROM {users}", 0, 50);
    while ($user = db_fetch_object($result)) {
        $users[] = $user->uid;
    }
    return $users;
}