diff options
author | hellekin <hellekin@cepheide.org> | 2012-11-04 23:04:48 -0300 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2012-11-04 23:04:48 -0300 |
commit | 98f73419a691c2664e51aad4b28ed477feaba8ea (patch) | |
tree | 42c25c6dc1db543c19d53f9ca2cdcc6df8bc307f /views/default/beechat | |
parent | 6e6f43a5b7b89c5f1091158bbb19fec20eb1c075 (diff) | |
download | elgg-98f73419a691c2664e51aad4b28ed477feaba8ea.tar.gz elgg-98f73419a691c2664e51aad4b28ed477feaba8ea.tar.bz2 |
Fix deprecation warnings
Diffstat (limited to 'views/default/beechat')
-rw-r--r-- | views/default/beechat/beechat.userjs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/beechat/beechat.userjs.php b/views/default/beechat/beechat.userjs.php index f147d8b8e..1a4d1565c 100644 --- a/views/default/beechat/beechat.userjs.php +++ b/views/default/beechat/beechat.userjs.php @@ -38,8 +38,8 @@ BeeChat.UI.Resources.Strings = { } g_user_rooms = new Array(); <?php -if (isloggedin()) { - $user = get_loggedin_user(); +if (elgg_is_logged_in()) { + $user = elgg_get_logged_in_user_entity(); $chatrooms = elgg_get_entities_from_relationship(array('relationship' => 'groupchat', 'relationship_guid' => $user->guid, 'inverse_relationship' => false, |