function beechat_pagesetup()
{
global $CONFIG;
- if (get_context() == 'groups' && isloggedin()) {
+ /*if (get_context() == 'group_profile' && isloggedin()) {
if (get_plugin_setting("groupdomain", "beechat")) {
$user = get_loggedin_user();
$group = page_owner_entity();
}
}
}
- elseif (get_context() == 'settings' && isloggedin()) {
+ else*/if (get_context() == 'settings' && isloggedin()) {
if (get_loggedin_user()->chatenabled) {
add_submenu_item(elgg_echo('beechat:disablechat'), $CONFIG->wwwroot . "mod/beechat/disablechat.php");
}