From: Brett Profitt Date: Thu, 22 Mar 2012 20:03:17 +0000 (-0700) Subject: Fixed deprecated use of get_annotation(). X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=271e824fae382c2b605d73135597a42323f691a9;p=lorea%2Felgg.git Fixed deprecated use of get_annotation(). --- diff --git a/views/default/photos/tagging/tag.php b/views/default/photos/tagging/tag.php index 6f6af968a..6bdc0db02 100644 --- a/views/default/photos/tagging/tag.php +++ b/views/default/photos/tagging/tag.php @@ -29,7 +29,7 @@ if ($vars['tag']->type == 'user') { } $delete = ''; -$annotation = get_annotation($vars['tag']->annotation_id); +$annotation = elgg_get_annotation_from_id($vars['tag']->annotation_id); if ($annotation->canEdit()) { $url = elgg_http_add_url_query_elements('action/photos/image/untag', array(