From 98f73419a691c2664e51aad4b28ed477feaba8ea Mon Sep 17 00:00:00 2001 From: hellekin Date: Sun, 4 Nov 2012 23:04:48 -0300 Subject: Fix deprecation warnings --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start.php') 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"); } -- cgit v1.2.3