[open-ils-commits] r9030 - trunk/Open-ILS/src/perlmods/OpenILS/WWW

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 14 18:41:54 EDT 2008


Author: miker
Date: 2008-03-14 18:08:14 -0400 (Fri, 14 Mar 2008)
New Revision: 9030

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
Log:
removing some dead code

Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm	2008-03-14 21:43:17 UTC (rev 9029)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm	2008-03-14 22:08:14 UTC (rev 9030)
@@ -1041,11 +1041,7 @@
 	$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 @@
 #		'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;



More information about the open-ils-commits mailing list