From 3a1f1a49b22c2be4234a78cd36016a373d3ca5fc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 28 Sep 2010 13:07:55 -0700 Subject: YammerImport: set some more default fields for user_group registration (still need a group admin tho) --- plugins/YammerImport/lib/yammerimporter.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') 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, -- cgit v1.2.3-54-g00ecf