aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-24 03:37:01 +0000
committerroot <root@migration.vz.lan>2012-10-24 03:37:10 +0000
commitfc9430d2665235b3a0d39504ecfa236e8d58c6e1 (patch)
treece7e1a648dc48f91d62b1eff47b2695802c6d212 /start.php
parent074dc8fda6f634cc8c024a913d8033600b336b3a (diff)
downloadelgg-fc9430d2665235b3a0d39504ecfa236e8d58c6e1.tar.gz
elgg-fc9430d2665235b3a0d39504ecfa236e8d58c6e1.tar.bz2
remove group chat menu.
Diffstat (limited to 'start.php')
-rw-r--r--start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/start.php b/start.php
index 2fe38b5d5..b6cbc52fe 100644
--- a/start.php
+++ b/start.php
@@ -138,7 +138,7 @@
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();
@@ -150,7 +150,7 @@
}
}
}
- 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");
}