diff options
author | Sem <sembrestels@riseup.net> | 2013-09-05 17:45:55 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-09-05 17:45:55 +0200 |
commit | 001e536e85c23caf74dd3b88cec1c2984320acb3 (patch) | |
tree | aec2cbcbb89162f9a46ba985e5de08f77de76991 /views/default/beechat | |
parent | 22479294531da254c0b9060afd5e2992c6db91e1 (diff) | |
download | elgg-001e536e85c23caf74dd3b88cec1c2984320acb3.tar.gz elgg-001e536e85c23caf74dd3b88cec1c2984320acb3.tar.bz2 |
Upgraded depracated function calls.
Diffstat (limited to 'views/default/beechat')
-rw-r--r-- | views/default/beechat/beechat.php | 2 | ||||
-rw-r--r-- | views/default/beechat/beechat.userjs.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/beechat/beechat.php b/views/default/beechat/beechat.php index d1e9e17be..397d35f74 100644 --- a/views/default/beechat/beechat.php +++ b/views/default/beechat/beechat.php @@ -9,7 +9,7 @@ * @link http://beechannels.com/ */ -if (isloggedin() && get_loggedin_user()->chatenabled && elgg_get_context() != 'admin') { +if (elgg_is_logged_in() && elgg_get_logged_in_user_entity()->chatenabled && elgg_get_context() != 'admin') { ?> <div id="beechat"> <div id="beechat_left"> diff --git a/views/default/beechat/beechat.userjs.php b/views/default/beechat/beechat.userjs.php index 1a4d1565c..ed59b683f 100644 --- a/views/default/beechat/beechat.userjs.php +++ b/views/default/beechat/beechat.userjs.php @@ -46,7 +46,7 @@ if (elgg_is_logged_in()) { 'limit' => 0)); if (!empty($chatrooms)) { foreach($chatrooms as $chatroom) { - echo "g_user_rooms.push(['".beechat_friendly_title($chatroom->name)."@".get_plugin_setting("groupdomain", "beechat")."', '".$chatroom->guid."']);"; + echo "g_user_rooms.push(['".beechat_friendly_title($chatroom->name)."@".elgg_get_plugin_setting("groupdomain", "beechat")."', '".$chatroom->guid."']);"; } } } |