]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2625 removed old hack from elgg_view_annotation()
authorCash Costello <cash.costello@gmail.com>
Thu, 9 Feb 2012 12:56:35 +0000 (07:56 -0500)
committerCash Costello <cash.costello@gmail.com>
Thu, 9 Feb 2012 12:56:35 +0000 (07:56 -0500)
engine/lib/views.php

index 0523871913ae44ae73fcd3afaa86b127e12dfb41..ca0ce7196116d1f8ae35fd2b8afc32383d95482d 100644 (file)
@@ -969,12 +969,7 @@ function elgg_view_annotation(ElggAnnotation $annotation, array $vars = array(),
                return elgg_view($view, $vars, $bypass, $debug);
        }
 
-       // @todo would be better to always make sure name is initialized properly
        $name = $annotation->name;
-       $intname = (int) $name;
-       if ("{$intname}" == "{$name}") {
-               $name = get_metastring($intname);
-       }
        if (empty($name)) {
                return false;
        }