Skip to content
Snippets Groups Projects
Commit d29b6472 authored by Brett Bieber's avatar Brett Bieber
Browse files

Format parameter is not referenced

parent da0f388f
Branches
Tags
No related merge requests found
......@@ -224,11 +224,6 @@ class UNL_Catalog
*/
public function showCourse($listing, $display_subject = false)
{
if (isset($_GET['format']) && $_GET['format']=='xml') {
$format = 'toXml';
} else {
$format = 'toHtml';
}
$savvy = $this->getCourseRenderer();
return $savvy->render($listing);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment