]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
YammerImport: set some more default fields for user_group registration (still need...
authorBrion Vibber <brion@pobox.com>
Tue, 28 Sep 2010 20:07:55 +0000 (13:07 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 28 Sep 2010 22:59:29 +0000 (15:59 -0700)
plugins/YammerImport/lib/yammerimporter.php

index 0ce8ffb48b309eef13b619cdee3b89e14e95e295..ae916dc2211559378a60a5612eae9255a34d5ac5 100644 (file)
@@ -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,