It would be handy to have a flag for generated users so hook_user_* hooks could do special operations on them. Simple patch just adds a 'devel_generate' = 1 flag on the user edit array during generation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

Status: Needs review » Needs work

OK, but should be TRUE, not 1. That would match nodes.

duellj’s picture

FileSize
580 bytes

Good point, updated path to be TRUE instead of 1

duellj’s picture

Status: Needs work » Needs review
moshe weitzman’s picture

Status: Needs review » Fixed

committed. thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.