get rid of the pre-comanche widget placement and wgl code

This commit is contained in:
redmatrix
2015-11-09 19:42:37 -08:00
parent c0260ff701
commit e6de9bfa4e
4 changed files with 0 additions and 48 deletions

View File

@@ -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.
*