diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-21 15:28:37 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-21 15:28:37 -0700 |
commit | b5d093e5caa87517280912e40a0f47352dca3f04 (patch) | |
tree | 0f0fd61b2740feadd9985eecb2d28d85401ed4f6 /include/network.php | |
parent | 10a52977f8b44ef0e1dcf1d89b51a0330340472e (diff) | |
download | volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.gz volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.bz2 volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.zip |
finish the channel_reddress() conversion
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php index de10f1e0e..c23005935 100644 --- a/include/network.php +++ b/include/network.php @@ -2010,11 +2010,11 @@ function get_site_info() { $admin = array(); foreach($r as $rr) { if($rr['channel_pageflags'] & PAGE_HUBADMIN) - $admin[] = array( 'name' => $rr['channel_name'], 'address' => $rr['channel_address'] . '@' . App::get_hostname(), 'channel' => z_root() . '/channel/' . $rr['channel_address']); + $admin[] = array( 'name' => $rr['channel_name'], 'address' => channel_reddress($rr), 'channel' => z_root() . '/channel/' . $rr['channel_address']); } if(! $admin) { foreach($r as $rr) { - $admin[] = array( 'name' => $rr['channel_name'], 'address' => $rr['channel_address'] . '@' . App::get_hostname(), 'channel' => z_root() . '/channel/' . $rr['channel_address']); + $admin[] = array( 'name' => $rr['channel_name'], 'address' => channel_reddress($rr), 'channel' => z_root() . '/channel/' . $rr['channel_address']); } } } |