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 /actions | |
parent | 22479294531da254c0b9060afd5e2992c6db91e1 (diff) | |
download | elgg-001e536e85c23caf74dd3b88cec1c2984320acb3.tar.gz elgg-001e536e85c23caf74dd3b88cec1c2984320acb3.tar.bz2 |
Upgraded depracated function calls.
Diffstat (limited to 'actions')
-rw-r--r-- | actions/get_icons.php | 2 | ||||
-rw-r--r-- | actions/join_groupchat.php | 2 | ||||
-rw-r--r-- | actions/leave_groupchat.php | 2 | ||||
-rw-r--r-- | actions/save_state.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/actions/get_icons.php b/actions/get_icons.php index 88e7bdd3b..33d447e2e 100644 --- a/actions/get_icons.php +++ b/actions/get_icons.php @@ -30,7 +30,7 @@ $jid_host = $splitjid[1]; foreach ($userFriendsEntities as $friend) { - if ((strtolower($friend->username) == strtolower($jid_name) && $jid_host == get_plugin_setting("domain", "beechat"))) + if ((strtolower($friend->username) == strtolower($jid_name) && $jid_host == elgg_get_plugin_setting("domain", "beechat"))) { $res[$value] = array('small' => $friend->getIcon('small'), 'tiny' => $friend->getIcon('tiny')); $found = true; diff --git a/actions/join_groupchat.php b/actions/join_groupchat.php index 0d2d75c61..c694d7957 100644 --- a/actions/join_groupchat.php +++ b/actions/join_groupchat.php @@ -1,6 +1,6 @@ <?php -$user = get_loggedin_user(); +$user = elgg_get_logged_in_user_entity(); $group = get_entity(get_input('group_guid')); if ($user && $group) { diff --git a/actions/leave_groupchat.php b/actions/leave_groupchat.php index 079ad4898..e04ab8846 100644 --- a/actions/leave_groupchat.php +++ b/actions/leave_groupchat.php @@ -1,6 +1,6 @@ <?php -$user = get_loggedin_user(); +$user = elgg_get_logged_in_user_entity(); $group = get_entity(get_input('group_guid')); if ($user && $group) { diff --git a/actions/save_state.php b/actions/save_state.php index 42e429e4a..f8a61c580 100644 --- a/actions/save_state.php +++ b/actions/save_state.php @@ -11,7 +11,7 @@ // gatekeeper(); - if (isloggedin()) + if (elgg_is_logged_in()) { global $SESSION; |