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

raeburn raeburn@source.lon-capa.org
Wed, 20 Jan 2010 16:46:24 -0000


raeburn		Wed Jan 20 16:46:24 2010 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  - Remove unnecessary code. ($crstype is passed as an arg in subroutine call).
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.113 loncom/interface/lonuserutils.pm:1.114
--- loncom/interface/lonuserutils.pm:1.113	Tue Jan 19 18:02:20 2010
+++ loncom/interface/lonuserutils.pm	Wed Jan 20 16:46:23 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.113 2010/01/19 18:02:20 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.114 2010/01/20 16:46:23 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3197,7 +3197,6 @@
                 $date_items;
     if ($context eq 'course' && $env{'form.bulkaction'} eq 'chgsec') {
         my ($cnum,$cdom) = &get_course_identity();
-        my $crstype = &Apache::loncommon::course_type();
         if ($crstype eq 'Community') {
             $lt{'fors'} = &mt('For member roles changing the section, will result in a section switch as members may only be in one section of a community at a time.');
             $lt{'forn'} = &mt('For a role in a community that is not a member role, a user may have roles in more than one section of a community at a time.');