diff options
Diffstat (limited to 'mod/group.php')
-rw-r--r-- | mod/group.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/group.php b/mod/group.php index c63ccfa9b..defac572a 100644 --- a/mod/group.php +++ b/mod/group.php @@ -20,11 +20,11 @@ function group_post(&$a) { info( t('Privacy group created.') . EOL ); $r = group_byname(local_channel(),$name); if($r) - goaway($a->get_baseurl() . '/group/' . $r); + goaway(z_root() . '/group/' . $r); } else notice( t('Could not create privacy group.') . EOL ); - goaway($a->get_baseurl() . '/group'); + goaway(z_root() . '/group'); } if((argc() == 2) && (intval(argv(1)))) { @@ -36,7 +36,7 @@ function group_post(&$a) { ); if(! $r) { notice( t('Privacy group not found.') . EOL ); - goaway($a->get_baseurl() . '/connections'); + goaway(z_root() . '/connections'); } $group = $r[0]; @@ -108,7 +108,7 @@ function group_content(&$a) { else notice( t('Unable to remove privacy group.') . EOL); } - goaway($a->get_baseurl() . '/group'); + goaway(z_root() . '/group'); // NOTREACHED } @@ -135,7 +135,7 @@ function group_content(&$a) { ); if(! $r) { notice( t('Privacy group not found.') . EOL ); - goaway($a->get_baseurl() . '/connections'); + goaway(z_root() . '/connections'); } $group = $r[0]; |