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

raeburn raeburn@source.lon-capa.org
Thu, 08 Jan 2009 19:46:43 -0000


raeburn		Thu Jan  8 19:46:43 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Better variable name for the second arg to &clean_symb().
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.730 loncom/interface/loncommon.pm:1.731
--- loncom/interface/loncommon.pm:1.730	Thu Jan  8 19:37:48 2009
+++ loncom/interface/loncommon.pm	Thu Jan  8 19:46:43 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.730 2009/01/08 19:37:48 raeburn Exp $
+# $Id: loncommon.pm,v 1.731 2009/01/08 19:46:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9934,11 +9934,11 @@
 }
 
 sub clean_symb {
-    my ($symb,$delete) = @_;
+    my ($symb,$delete_enc) = @_;
 
     &Apache::lonenc::check_decrypt(\$symb);
     my $enc = $env{'request.enc'};
-    if ($delete) {
+    if ($delete_enc) {
         delete($env{'request.enc'});
     }