Use microtime instead of float for user deletion
Bug #841723 reported by
Andrew Nicols
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Andrew Nicols |
Bug Description
For unit testing, or scripted user management for that matter, there may be the need to create and remove the same user multiple times over a short period. The current deletion method is to alter the username and e-mail address to suffix deleted.time()
Time isn't precise enough and you end up with collisions.
Changing to use microtime fixes these issues and allows for unit tests to be run
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Commited supplied by Penny: https:/ /reviews. mahara. org/641