more backporting for zot6

This commit is contained in:
zotlabs
2018-08-14 18:19:34 -07:00
parent 12f4787b67
commit f4f610f1a3
2 changed files with 41 additions and 0 deletions

View File

@@ -2797,3 +2797,6 @@ function pchan_to_chan($pchan) {
return $chan;
}
function channel_url($channel) {
return (($channel) ? z_root() . '/channel/' . $channel['channel_address'] : z_root());
}