[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet studentcalc.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 16 Sep 2003 15:39:36 -0000


matthew		Tue Sep 16 11:39:36 2003 EDT

  Modified files:              
    /loncom/interface/spreadsheet	studentcalc.pm 
  Log:
  Cleanup of parent_link subroutine - there is no need to include the
  students name and domain when requesting the course level spreadsheet.
  
  
Index: loncom/interface/spreadsheet/studentcalc.pm
diff -u loncom/interface/spreadsheet/studentcalc.pm:1.20 loncom/interface/spreadsheet/studentcalc.pm:1.21
--- loncom/interface/spreadsheet/studentcalc.pm:1.20	Fri Sep 12 15:00:54 2003
+++ loncom/interface/spreadsheet/studentcalc.pm	Tue Sep 16 11:39:36 2003
@@ -1,5 +1,5 @@
 #
-# $Id: studentcalc.pm,v 1.20 2003/09/12 19:00:54 matthew Exp $
+# $Id: studentcalc.pm,v 1.21 2003/09/16 15:39:36 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -141,11 +141,7 @@
 
 sub parent_link {
     my $self = shift;
-    my $link .= '<p><a href="/adm/classcalc?'.
-        'sname='.$self->{'name'}.
-            '&sdomain='.$self->{'domain'}.'">'.
-                'Course level sheet</a></p>'."\n";
-    return $link;
+    return '<p><a href="/adm/classcalc">Course level sheet</a></p>'."\n";
 }
 
 sub convenience_links {