Revize 2410
Přidáno uživatelem Ondřej Fibich před více než 9 roky(ů)
freenetis/branches/1.2/application/controllers/registration.php | ||
---|---|---|
$account->name = $form_data['membername'];
|
||
$account->save_throwable();
|
||
|
||
// save allowed subnets count of member
|
||
$allowed_subnets_count = new Allowed_subnets_count_Model();
|
||
$allowed_subnets_count->member_id = $member->id;
|
||
$allowed_subnets_count->count = Settings::get('allowed_subnets_default_count');
|
||
$allowed_subnets_count->save_throwable();
|
||
|
||
// access rights of expectant for membership (wannabe - aro group 23)
|
||
$groups_aro_map = new Groups_aro_map_Model();
|
||
$groups_aro_map->aro_id = $user->id;
|
Také k dispozici: Unified diff
Oprava: refs #962: Pri samo-registraci se nenastavi vychozi hodnota pro povolene podsite