]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
remove group chat menu.
authorPablo Martin <caedes@sindominio.net>
Wed, 24 Oct 2012 03:37:01 +0000 (03:37 +0000)
committerroot <root@migration.vz.lan>
Wed, 24 Oct 2012 03:37:10 +0000 (03:37 +0000)
start.php

index 2fe38b5d556471ef83d6104de8c160ce242b978e..b6cbc52feec89aa309baa76828e7beb3940d2415 100644 (file)
--- a/start.php
+++ b/start.php
        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");
                        }