removing some dead code
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 14 Mar 2008 22:08:14 +0000 (22:08 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 14 Mar 2008 22:08:14 +0000 (22:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9030 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm

index 71031ac..a7707c7 100644 (file)
@@ -1041,11 +1041,7 @@ sub opensearch_feed {
        $feed->search($terms);
        $feed->class($class);
 
-       if ($complex_terms) {
-               $feed->title("Search results for [$terms] at ".$org_unit->[0]->name);
-       } else {
-               $feed->title("Search results for [$class => $terms] at ".$org_unit->[0]->name);
-       }
+       $feed->title("Search results for [$class => $terms] at ".$org_unit->[0]->name);
 
        $feed->creator($host);
        $feed->update_ts(gmtime_ISO8601());
@@ -1122,12 +1118,6 @@ sub opensearch_feed {
 #              'text/html'
 #      );
 
-       print $cgi->header(
-               -type           => $feed->type,
-               -charset        => 'UTF-8',
-               -cookie         => $cgi->cookie( -name => 'os_session', -value => $rs_name, -expires => '+30m' ),
-       );
-
        print entityize($feed->toString) . "\n";
 
        return Apache2::Const::OK;