From e6de9bfa4ebe1fb1c7dd05c0d572c7d79d3323ee Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 9 Nov 2015 19:42:37 -0800 Subject: get rid of the pre-comanche widget placement and wgl code --- include/identity.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include') diff --git a/include/identity.php b/include/identity.php index 0c4a9df45..21d919508 100644 --- a/include/identity.php +++ b/include/identity.php @@ -903,19 +903,6 @@ function profile_load(&$a, $nickname, $profile = '') { // } } -/** - * @brief - * - * @param App &$a - * @param boolean $connect - */ -function profile_create_sidebar(&$a, $connect = true) { - - $block = (((get_config('system', 'block_public')) && (! local_channel()) && (! remote_channel())) ? true : false); - - $a->set_widget('profile', profile_sidebar($a->profile, $block, $connect)); -} - /** * @brief Formats a profile for display in the sidebar. * -- cgit v1.2.3