]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removing groups functionality.
authorPablo Martin <caedes@sindominio.net>
Wed, 24 Oct 2012 05:06:19 +0000 (05:06 +0000)
committerroot <root@migration.vz.lan>
Wed, 24 Oct 2012 05:06:27 +0000 (05:06 +0000)
start.php

index b6cbc52feec89aa309baa76828e7beb3940d2415..125a2ddcfd615fd58a9057b5529c0a57de456367 100644 (file)
--- a/start.php
+++ b/start.php
@@ -61,8 +61,8 @@
 
 
                $actions_path = $pluginspath . 'beechat/actions/';
-               elgg_register_action('beechat/join_groupchat', $actions_path . 'join_groupchat.php');
-               elgg_register_action('beechat/leave_groupchat', $actions_path . 'leave_groupchat.php');
+               //elgg_register_action('beechat/join_groupchat', $actions_path . 'join_groupchat.php');
+               //elgg_register_action('beechat/leave_groupchat', $actions_path . 'leave_groupchat.php');
                elgg_register_action('beechat/get_statuses', $actions_path . 'get_statuses.php');
                elgg_register_action('beechat/get_icons', $actions_path . 'get_icons.php');
                elgg_register_action('beechat/get_details', $actions_path . 'get_details.php');
                elgg_extend_view('page/elements/foot', 'beechat/beechat');
 
                $domain = elgg_get_plugin_setting("domain", "beechat");
-               $group_domain = elgg_get_plugin_setting("groupdomain", "beechat");
-               $dbname = elgg_get_plugin_setting("dbname", "beechat");
+               //$group_domain = elgg_get_plugin_setting("groupdomain", "beechat");
+               /*$dbname = elgg_get_plugin_setting("dbname", "beechat");
                $dbhost = elgg_get_plugin_setting("dbhost", "beechat");
                $dbuser = elgg_get_plugin_setting("dbuser", "beechat");
-               $dbpassword = elgg_get_plugin_setting("dbpassword", "beechat");
+               $dbpassword = elgg_get_plugin_setting("dbpassword", "beechat");*/
 
                global $CONFIG;
                $CONFIG->chatsettings['domain'] = $domain;
-               $CONFIG->chatsettings['groupdomain'] = $group_domain;
+               //$CONFIG->chatsettings['groupdomain'] = $group_domain;
 
                register_notification_handler('xmpp', 'beechat_notifications');
        //      register_plugin_hook('notify:entity:message','object','beechat_notifications_msg');
                }
                elgg_load_library('elgg:beechat');
                $to = ejabberd_getjid($user, true);
-                #xmlrpc_set_type(&$body, "base64"); 
-               $param = array("body"=>$body,
-                               "from"=>$from,
-                               "to"=>$to);
+                //xmlrpc_set_type(&$body, "base64"); 
+               $param = array("body" => $body,
+                               "from" => $from,
+                               "to" => $to);
                ejabberd_xmlrpc_command('send_html_message', $param);
        }