Closed (fixed)
Project:
Install Profile API (obsolete)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2007 at 08:37 UTC
Updated:
23 Apr 2007 at 16:32 UTC
Take this:
user_save(new stdClass(),
array('name' => 'wbrtech',
'pass' => 'music123#',
'mail' => 'tech@warnerreprise.com',
'status' => 1));
And turn it into a wrapper function. Pass in name, mail, pwd (optional), status (optional). Should probably return the ID# of the user.
Credit for code goes to shaber
Comments
Comment #1
boris mann commentedDone.
Comment #2
boris mann commentedLet's try that again.
Comment #3
(not verified) commented