diff --git a/src/UNL/Catalog.php b/src/UNL/Catalog.php index e31e866fde8ef050529a17457960231f748f0d09..e2fde306c1f8d51c8edf3004ee13d39baaeb698e 100644 --- a/src/UNL/Catalog.php +++ b/src/UNL/Catalog.php @@ -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); }