aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2012-11-04 23:04:48 -0300
committerhellekin <hellekin@cepheide.org>2012-11-04 23:04:48 -0300
commit98f73419a691c2664e51aad4b28ed477feaba8ea (patch)
tree42c25c6dc1db543c19d53f9ca2cdcc6df8bc307f /start.php
parent6e6f43a5b7b89c5f1091158bbb19fec20eb1c075 (diff)
downloadelgg-98f73419a691c2664e51aad4b28ed477feaba8ea.tar.gz
elgg-98f73419a691c2664e51aad4b28ed477feaba8ea.tar.bz2
Fix deprecation warnings
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
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");
}