summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-28 13:07:55 -0700
committerBrion Vibber <brion@pobox.com>2010-09-28 13:07:55 -0700
commit17e5ffbe4ee8c0c7093eecac598ce11660b8b95b (patch)
tree43871dee98b9b9df5395a21b5808e8a74a8c6e3a /plugins
parent05682afee4b0a1c84c565b2015a49e3d09c9c807 (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.php5
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,