function drush_devel_generate_generate_users
Command callback. Generate a number of users.
File
-
./
devel_generate.drush.inc, line 69
Code
function drush_devel_generate_generate_users($num_users = NULL) {
if (drush_generate_is_number($num_users) == FALSE) {
drush_set_error('DEVEL_GENERATE_INVALID_NUMBER', dt('Invalid number of users.'));
}
drush_generate_include_devel();
drush_op('devel_create_users', $num_users, drush_get_option('kill'));
drush_log(dt('Generated @number users.', array(
'@number' => $num_users,
)), 'ok');
}