diff --git a/include/api.php b/include/api.php index e561f397c0..724568279a 100644 --- a/include/api.php +++ b/include/api.php @@ -950,8 +950,6 @@ function api_create_xml($data, $root_element) */ function api_format_data($root_element, $type, $data) { - $a = get_app(); - switch ($type) { case "atom": case "rss":