From 7d77cfef56853fa5febb36b4cb4a1df8da7c3224 Mon Sep 17 00:00:00 2001
From: friendica <info@friendica.com>
Date: Wed, 30 May 2012 04:20:01 -0700
Subject: [PATCH] Create a "potential default group" called "Friends" on
 registration.

---
 mod/register.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mod/register.php b/mod/register.php
index 58bba85333..aeeec7c1fa 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -290,6 +290,11 @@ function register_post(&$a) {
 			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'));
 
 	}
 
-- 
2.39.5