]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed deprecated use of get_annotation().
authorBrett Profitt <brett.profitt@gmail.com>
Thu, 22 Mar 2012 20:03:17 +0000 (13:03 -0700)
committerBrett Profitt <brett.profitt@gmail.com>
Thu, 22 Mar 2012 20:03:17 +0000 (13:03 -0700)
views/default/photos/tagging/tag.php

index 6f6af968a1d6eb42a446ff611d308d0645abe01a..6bdc0db02a1af586a1dbae692ea6d69a05482055 100644 (file)
@@ -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(