YammerImport: set some more default fields for user_group registration (still need a group admin tho)
This commit is contained in:
parent
05682afee4
commit
17e5ffbe4e
|
@ -249,8 +249,11 @@ class YammerImporter
|
||||||
$options['mainpage'] = common_local_url('showgroup',
|
$options['mainpage'] = common_local_url('showgroup',
|
||||||
array('nickname' => $options['nickname']));
|
array('nickname' => $options['nickname']));
|
||||||
|
|
||||||
|
// Set some default vals or User_group::register will whine
|
||||||
|
$options['homepage'] = '';
|
||||||
|
$options['location'] = '';
|
||||||
|
$options['aliases'] = array();
|
||||||
// @fixme what about admin user for the group?
|
// @fixme what about admin user for the group?
|
||||||
// bio? homepage etc? aliases?
|
|
||||||
|
|
||||||
$options['local'] = true;
|
$options['local'] = true;
|
||||||
return array('orig_id' => $origId,
|
return array('orig_id' => $origId,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user