diff options
author | redmatrix <git@macgirvin.com> | 2016-03-30 22:13:24 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-30 22:13:24 -0700 |
commit | 1cd3b4182595b838a535dd6b6990251db05d49e6 (patch) | |
tree | 2d22ab3140caf9d7efcd46a1f30f81a833ebf6fd /mod/group.php | |
parent | 4148211086ff53dfb6fb4e969fd067389bcfef29 (diff) | |
download | volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.tar.gz volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.tar.bz2 volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.zip |
deprecate $a->get_baseurl()
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]; |