From: hellekin Date: Mon, 5 Nov 2012 02:04:48 +0000 (-0300) Subject: Fix deprecation warnings X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=98f73419a691c2664e51aad4b28ed477feaba8ea;p=lorea%2Felgg.git Fix deprecation warnings --- diff --git a/start.php b/start.php index 125a2ddcf..045887744 100644 --- a/start.php +++ b/start.php @@ -150,7 +150,7 @@ } } } - else*/if (get_context() == 'settings' && isloggedin()) { + else*/if (elgg_get_context() == 'settings' && elgg_is_logged_in()) { if (get_loggedin_user()->chatenabled) { add_submenu_item(elgg_echo('beechat:disablechat'), $CONFIG->wwwroot . "mod/beechat/disablechat.php"); } 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(); 'groupchat', 'relationship_guid' => $user->guid, 'inverse_relationship' => false,