aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-02-09 07:56:35 -0500
committerCash Costello <cash.costello@gmail.com>2012-02-09 07:56:35 -0500
commitefb6ba4d0ab857703d721c5538150cf2a337347d (patch)
tree53e06e550b9fa9b2705af667987e6727fc5773fe /engine/lib/views.php
parent83d9d13b561342447a2d84682e2692e8bf8f260e (diff)
downloadelgg-efb6ba4d0ab857703d721c5538150cf2a337347d.tar.gz
elgg-efb6ba4d0ab857703d721c5538150cf2a337347d.tar.bz2
Fixes #2625 removed old hack from elgg_view_annotation()
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 052387191..ca0ce7196 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -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;
}