aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/acl.php2
-rw-r--r--mod/register.php5
-rw-r--r--mod/settings.php1
3 files changed, 6 insertions, 2 deletions
diff --git a/mod/acl.php b/mod/acl.php
index 168b1f59f..1e8898ab6 100644
--- a/mod/acl.php
+++ b/mod/acl.php
@@ -135,7 +135,7 @@ function acl_init(&$a){
foreach($r as $g) {
$x['photos'][] = $g['micro'];
$x['links'][] = $g['url'];
- $x['suggestions'][] = $g['name']; // sprintf( t('%s [%s]'),$g['name'],$g['url']);
+ $x['suggestions'][] = $g['name'];
$x['data'][] = intval($g['id']);
}
}
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'));
}
diff --git a/mod/settings.php b/mod/settings.php
index bbdfe1ac9..f011177fc 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -857,7 +857,6 @@ function settings_content(&$a) {
t('Private forum - approved members only [Experimental]'),
($a->user['page-flags'] == PAGE_PRVGROUP)),
- '$experimental' => ( (intval(get_config('system','prvgroup_testing'))) ? 'true' : ''),
));