Create a "potential default group" called "Friends" on registration.

This commit is contained in:
friendica 2012-05-30 04:20:01 -07:00
parent e5a988f0b5
commit 7d77cfef56

View file

@ -290,6 +290,11 @@ function register_post(&$a) {
dbesc(datetime_convert()) dbesc(datetime_convert())
); );
// Create a group with no members. This allows somebody to use it
// right away as a default group for new contacts.
require_once('include/group.php');
group_add($newuid, t('Friends'));
} }