get rid of the pre-comanche widget placement and wgl code
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user