From: Brion Vibber Date: Tue, 28 Sep 2010 20:07:55 +0000 (-0700) Subject: YammerImport: set some more default fields for user_group registration (still need... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a1f1a49b22c2be4234a78cd36016a373d3ca5fc;p=quix0rs-gnu-social.git YammerImport: set some more default fields for user_group registration (still need a group admin tho) --- diff --git a/plugins/YammerImport/lib/yammerimporter.php b/plugins/YammerImport/lib/yammerimporter.php index 0ce8ffb48b..ae916dc221 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,