diff options
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index c71d235f8..68c9bfc22 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -117,27 +117,6 @@ } /** - * Detect the value_type for a given value. - * Currently this is very crude. - * - * TODO: Make better! - * - * @param mixed $value - * @param string $value_type If specified, overrides the detection. - * @return string - */ - function detect_annotation_valuetype($value, $value_type = "") - { - if ($value_type!="") - return $value_type; - - // This is crude - if (is_int($value)) return 'integer'; - - return 'tag'; - } - - /** * Get a specific annotation. * * @param int $annotation_id |