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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 06 Feb 2006 22:42:14 -0000


albertel		Mon Feb  6 17:42:14 2006 EDT

  Modified files:              
    /loncom/interface	slotrequest.pm 
  Log:
  - remove some moved lines (BUG#4650)
  
  
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.44 loncom/interface/slotrequest.pm:1.45
--- loncom/interface/slotrequest.pm:1.44	Fri Feb  3 18:53:30 2006
+++ loncom/interface/slotrequest.pm	Mon Feb  6 17:42:11 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for requesting to have slots added to a students record
 #
-# $Id: slotrequest.pm,v 1.44 2006/02/03 23:53:30 albertel Exp $
+# $Id: slotrequest.pm,v 1.45 2006/02/06 22:42:11 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -362,7 +362,6 @@
 						      '0_availablestudent',
 						      1, $new_param, 'string',
 						      $uname,$udom);
-    my $description=&get_description($env{'form.slotname'},\%slot);
     $r->print("<p>Released Reservation: $description</p>");
     if ($mgr eq 'F') {
 	$r->print('<p><a href="/adm/slotrequest?command=showslots">'.
@@ -452,7 +451,7 @@
 	}
 	return;
     }
-    my %slot=&Apache::lonnet::get_slot($env{'form.slotname'});
+
     my $reserved=&make_reservation($env{'form.slotname'},
 				   \%slot,$symb);
     my $description=&get_description($env{'form.slotname'},\%slot);