aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/get_icons.php2
-rw-r--r--actions/join_groupchat.php2
-rw-r--r--actions/leave_groupchat.php2
-rw-r--r--actions/save_state.php2
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;