diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-28 13:07:55 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-28 15:59:29 -0700 |
commit | 3a1f1a49b22c2be4234a78cd36016a373d3ca5fc (patch) | |
tree | defa33719358263cbe643e618418ac8acec5dfa4 /plugins | |
parent | 782046dc016ac70148447db94c2c45fbe68c056e (diff) |
YammerImport: set some more default fields for user_group registration (still need a group admin tho)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/YammerImport/lib/yammerimporter.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/YammerImport/lib/yammerimporter.php b/plugins/YammerImport/lib/yammerimporter.php index 0ce8ffb48..ae916dc22 100644 --- a/plugins/YammerImport/lib/yammerimporter.php +++ b/plugins/YammerImport/lib/yammerimporter.php @@ -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, |