[LON-CAPA-cvs] cvs: loncom /enrollment Enrollment.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 07 Feb 2006 17:56:42 -0000


raeburn		Tue Feb  7 12:56:42 2006 EDT

  Modified files:              
    /loncom/enrollment	Enrollment.pm 
  Log:
  Eliminating unused if branch, as recording of photo handling uses $photoresult.
  
  
Index: loncom/enrollment/Enrollment.pm
diff -u loncom/enrollment/Enrollment.pm:1.29 loncom/enrollment/Enrollment.pm:1.30
--- loncom/enrollment/Enrollment.pm:1.29	Tue Feb  7 11:20:49 2006
+++ loncom/enrollment/Enrollment.pm	Tue Feb  7 12:56:41 2006
@@ -1,5 +1,5 @@
 # Automated Enrollment manager
-# $Id: Enrollment.pm,v 1.29 2006/02/07 16:20:49 albertel Exp $
+# $Id: Enrollment.pm,v 1.30 2006/02/07 17:56:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -404,9 +404,6 @@
         if ($context eq "updatenow") {
             $addresult = substr($addresult,0,rindex($addresult,"<li>"));
             $addresult = "The following $enrollcount student(s) was/were added to this LON-CAPA course:<br/><ul><li>".$addresult."</ul><br/><br/>";
-            if ($courseinfo{'showphotos'}) {
-
-            }
         } else {
             $addresult = "The following $enrollcount student(s) was/were added to this LON-CAPA course:\n\n".$addresult."\n\n";
         }