From d29b6472d796c5492e7d681f0a0fae5dfd497fbe Mon Sep 17 00:00:00 2001
From: Brett Bieber <brett.bieber@gmail.com>
Date: Mon, 29 Apr 2013 15:15:47 -0500
Subject: [PATCH] Format parameter is not referenced

---
 src/UNL/Catalog.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/UNL/Catalog.php b/src/UNL/Catalog.php
index e31e866..e2fde30 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);
     }
-- 
GitLab