diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 19:27:58 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 19:27:58 +0000 |
commit | 1368785a6b6f9c946dcc5eca078540bacce71f60 (patch) | |
tree | 1aa0857127ef2f21cc2e64a608d94359da172bab /engine/lib/annotations.php | |
parent | 9074f002ad0603014c90b12aaaf2c51d740638e9 (diff) | |
download | elgg-1368785a6b6f9c946dcc5eca078540bacce71f60.tar.gz elgg-1368785a6b6f9c946dcc5eca078540bacce71f60.tar.bz2 |
Refs #2543: Core uses the new functions from previous commit.
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 035c5e705..f43c13c87 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -69,7 +69,7 @@ $owner_guid, $access_id = ACCESS_PRIVATE) { $owner_guid = (int)$owner_guid; if ($owner_guid == 0) { - $owner_guid = get_loggedin_userid(); + $owner_guid = elgg_get_logged_in_user_guid(); } $access_id = (int)$access_id; @@ -133,7 +133,7 @@ function update_annotation($annotation_id, $name, $value, $value_type, $owner_gu $owner_guid = (int)$owner_guid; if ($owner_guid == 0) { - $owner_guid = get_loggedin_userid(); + $owner_guid = elgg_get_logged_in_user_guid(); } $access_id = (int)$access_id; @@ -941,7 +941,7 @@ function get_annotation_url($id) { function elgg_annotation_exists($entity_guid, $annotation_type, $owner_guid = NULL) { global $CONFIG; - if (!$owner_guid && !($owner_guid = get_loggedin_userid())) { + if (!$owner_guid && !($owner_guid = elgg_get_logged_in_user_guid())) { return FALSE; } |