diff options
author | Pablo Martin <caedes@sindominio.net> | 2012-10-24 05:06:19 +0000 |
---|---|---|
committer | root <root@migration.vz.lan> | 2012-10-24 05:06:27 +0000 |
commit | b460e82dc1d6a87b93d27cf2ae6aa7bb71ca574e (patch) | |
tree | 585f366fbf03eee05e01bd2a9eb182b33893104c /start.php | |
parent | 4f3e170ec2f2cc6808bbb1452567fff22a9875a2 (diff) | |
download | elgg-b460e82dc1d6a87b93d27cf2ae6aa7bb71ca574e.tar.gz elgg-b460e82dc1d6a87b93d27cf2ae6aa7bb71ca574e.tar.bz2 |
removing groups functionality.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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); } |