aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/lib/blog.php2
-rw-r--r--mod/messageboard/actions/delete.php2
-rw-r--r--mod/pages/revision.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php
index fdd408feb..ede87386c 100644
--- a/mod/blog/lib/blog.php
+++ b/mod/blog/lib/blog.php
@@ -296,7 +296,7 @@ function blog_get_page_content_edit($page, $guid = 0, $revision = NULL) {
$title .= ": \"$blog->title\"";
if ($revision) {
- $revision = get_annotation((int)$revision);
+ $revision = elgg_get_annotation_from_id((int)$revision);
$vars['revision'] = $revision;
$title .= ' ' . elgg_echo('blog:edit_revision_notice');
diff --git a/mod/messageboard/actions/delete.php b/mod/messageboard/actions/delete.php
index 6e72c201e..1cc20f285 100644
--- a/mod/messageboard/actions/delete.php
+++ b/mod/messageboard/actions/delete.php
@@ -10,7 +10,7 @@
$annotation_id = (int) get_input('annotation_id');
//make sure that there is a message on the message board matching the passed id
-if ($message = get_annotation($annotation_id)) {
+if ($message = elgg_get_annotation_from_id($annotation_id)) {
//grab the user or group entity
$entity = get_entity($message->entity_guid);
diff --git a/mod/pages/revision.php b/mod/pages/revision.php
index 1945bb8af..1537e0355 100644
--- a/mod/pages/revision.php
+++ b/mod/pages/revision.php
@@ -6,7 +6,7 @@
*/
$id = get_input('id');
-$annotation = get_annotation($id);
+$annotation = elgg_get_annotation_from_id($id);
if (!$annotation) {
forward();
}