1
shagreel
generated user uid
  • 2004/2/9 17:01

  • shagreel

  • Just popping in

  • Posts: 13

  • Since: 2003/1/17


I really need to be able to specify the uid of users that I create. I wonder if the code to assign a users id could be changed to something like the following.

if ($user->isNew()) {
if($user->getVar('uid'))
$uid = $user->getVar('uid');
else
$uid = $this->db->genId($this->db->prefix('users').'_uid_seq');


Login

Who's Online

168 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: May 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits