Revize 1172
Přidáno uživatelem Ondřej Fibich před více než 13 roky(ů)
freenetis/branches/testing/application/controllers/installation.php | ||
---|---|---|
$user->application_password = security::generate_password();
|
||
$user->save();
|
||
|
||
// add user to access list as admin
|
||
$groups_aro_map = new Groups_aro_map_Model();
|
||
$groups_aro_map->aro_id = $user->id;
|
||
$groups_aro_map->group_id = Aro_group_Model::ADMINS;
|
||
$groups_aro_map->save();
|
||
|
||
// users telephone
|
||
$contact = new Contact_Model();
|
||
$contact->type = Contact_Model::TYPE_PHONE;
|
Také k dispozici: Unified diff
Opravy: