From 4f7f547190f5ec2557739aad6b2c09e3f45cdc76 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 24 Jan 2013 14:31:57 -0800 Subject: why oh why is poco_load not getting called? oh - that's why. --- mod/channel.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mod/channel.php') diff --git a/mod/channel.php b/mod/channel.php index 4510ad61d..3f92539ae 100644 --- a/mod/channel.php +++ b/mod/channel.php @@ -22,6 +22,7 @@ function channel_init(&$a) { // Run profile_load() here to make sure the theme is set before // we start loading content + profile_load($a,$which,$profile); } @@ -81,12 +82,8 @@ function channel_content(&$a, $update = 0, $load = false) { $groups = array(); - - $tab = 'posts'; $o = ''; - - if($update) { // Ensure we've got a profile owner if updating. $a->profile['profile_uid'] = $update; @@ -112,7 +109,6 @@ function channel_content(&$a, $update = 0, $load = false) { if(! $update) { - $o .= profile_tabs($a, $is_owner, $a->profile['channel_address']); $o .= common_friends_visitor_widget($a->profile['profile_uid']); -- cgit v1.2.3