[LON-CAPA-cvs] cvs: modules /raeburn lonpopulate.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Thu, 04 Dec 2003 17:06:18 -0000


raeburn		Thu Dec  4 12:06:18 2003 EDT

  Modified files:              
    /modules/raeburn	lonpopulate.pm 
  Log:
  Updating for consistency with revisions to Enrollment.pm
  
  
Index: modules/raeburn/lonpopulate.pm
diff -u modules/raeburn/lonpopulate.pm:1.2 modules/raeburn/lonpopulate.pm:1.3
--- modules/raeburn/lonpopulate.pm:1.2	Mon Dec  1 19:26:13 2003
+++ modules/raeburn/lonpopulate.pm	Thu Dec  4 12:06:18 2003
@@ -1463,9 +1463,8 @@
 
       if (@allcourses > 0) {
           @{$affiliates{$crs}} = @allcourses;
-#          &localenroll::fetch_enrollment($dom,\%affiliates,\%reply);
-#          if ($reply{$crs} > 0) {
-           if (@allcourses > 0) {
+          &localenroll::fetch_enrollment($dom,\%affiliates,\%reply);
+          if ($reply{$crs} > 0) {
                       my $logmsg = '';
               $response = &LONCAPA::Enrollment::update_LC($dom,$crs,$updateadds,$updatedrops,$autostart,$autoend,$authtype,$autharg,\@allcourses,\%LC_code,$logmsg,"updatenow");
           } else {