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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 26 Jul 2007 23:56:37 -0000


albertel		Thu Jul 26 19:56:37 2007 EDT

  Modified files:              
    /loncom/interface	londropadd.pm 
  Log:
  - remove debug
  
  
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.164 loncom/interface/londropadd.pm:1.165
--- loncom/interface/londropadd.pm:1.164	Thu Jul 26 19:48:53 2007
+++ loncom/interface/londropadd.pm	Thu Jul 26 19:56:35 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.164 2007/07/26 23:48:53 albertel Exp $
+# $Id: londropadd.pm,v 1.165 2007/07/26 23:56:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2433,14 +2433,11 @@
     my %permission;
     $permission{'view'} = 
         &Apache::lonnet::allowed('vcl',$env{'request.course.id'});
-    &Apache::lonnet::logthis(" vcl 1 ".$permission{'view'});
     if (!$permission{'view'}) {
 	my $scope = $env{'request.course.id'}.'/'.$env{'request.course.sec'};
 	$permission{'view'} =  &Apache::lonnet::allowed('vcl',$scope);
-    &Apache::lonnet::logthis(" vcl 2 ".$permission{'view'});
 	if ($permission{'view'}) {
 	    $permission{'view_section'} = $env{'request.course.sec'};
-    &Apache::lonnet::logthis(" vcl 3 ".$permission{'view'});
 	}
     }
 
@@ -2455,7 +2452,6 @@
     foreach my $perm (values(%permission)) {
 	if ($perm) { $allowed=1; last; }
     }
-    &Apache::lonnet::logthis(" allowed ".$allowed);
     return (\%permission,$allowed);
 }