From b460e82dc1d6a87b93d27cf2ae6aa7bb71ca574e Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Wed, 24 Oct 2012 05:06:19 +0000 Subject: removing groups functionality. --- start.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'start.php') diff --git a/start.php b/start.php index b6cbc52fe..125a2ddcf 100644 --- 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'); @@ -104,15 +104,15 @@ 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'); @@ -167,10 +167,10 @@ } 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); } -- cgit v1.2.3