aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/register.php b/mod/register.php
index 58bba8533..aeeec7c1f 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'));
}