Commit 17e5ffbe authored by Brion Vibber's avatar Brion Vibber

YammerImport: set some more default fields for user_group registration (still...

YammerImport: set some more default fields for user_group registration (still need a group admin tho)
parent 05682afe
......@@ -249,8 +249,11 @@ class YammerImporter
$options['mainpage'] = common_local_url('showgroup',
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?
// bio? homepage etc? aliases?
$options['local'] = true;
return array('orig_id' => $origId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment