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

raeburn raeburn at source.lon-capa.org
Thu Sep 15 08:09:44 EDT 2011


raeburn		Thu Sep 15 12:09:44 2011 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - Eliminate unused code from rev 1.586. 
    - &generate_format_selector() includes the same code, and is in active use.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.596 loncom/interface/lonprintout.pm:1.597
--- loncom/interface/lonprintout.pm:1.596	Tue Sep 13 21:43:03 2011
+++ loncom/interface/lonprintout.pm	Thu Sep 15 12:09:44 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.596 2011/09/13 21:43:03 raeburn Exp $
+# $Id: lonprintout.pm,v 1.597 2011/09/15 12:09:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3993,12 +3993,6 @@
 							  $map,
 							  $isProblem, '', $symbFilter,
 							  $start_new_option);
-        my $secpdfoption;
-        unless (($helper->{'VARS'} eq 'problems_for_anon')     ||
-                ($helper->{'VARS'}->{'PRINT_TYPE'} eq 'problems_for_anon_page') ||
-                ($helper->{'VARS'}->{'PRINT_TYPE'} eq 'resources_for_anon')  ) {
-            $secpdfoption =  '<choice computer="sections">Each PDF contains exactly one section</choice>';
-        }
 	$resource_selector .=  &generate_format_selector($helper,
                                                          'How should results be printed?').
                                &generate_resource_chooser('CHOOSE_STUDENTS_PAGE',




More information about the LON-CAPA-cvs mailing list