[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
banghart
lon-capa-cvs@mail.lon-capa.org
Thu, 10 Aug 2006 22:19:07 -0000
banghart Thu Aug 10 18:19:07 2006 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
remove useless code
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.167 loncom/interface/lonmeta.pm:1.168
--- loncom/interface/lonmeta.pm:1.167 Thu Aug 10 17:14:10 2006
+++ loncom/interface/lonmeta.pm Thu Aug 10 18:19:06 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.167 2006/08/10 21:14:10 banghart Exp $
+# $Id: lonmeta.pm,v 1.168 2006/08/10 22:19:06 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -371,10 +371,8 @@
my ($port_path,$group) = &get_port_path_and_group($uri);
my $group_input;
if ($group) {
- $group_input = '<input type="hidden" name="group" value="'.$group.'" />'
- } else {
- $group_input = "";
- }
+ $group_input = '<input type="hidden" name="group" value="'.$group.'" />';
+ }
$r->print('<br /><br /><form method="post" action="'.$port_path.'">'.
'<input type="hidden" name="currentpath" value="'.$path.'" />'.
$group_input.