[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 13 Apr 2006 20:47:39 -0000


albertel		Thu Apr 13 16:47:39 2006 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - touchups from the loncommon move
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.76 loncom/auth/lonacc.pm:1.77
--- loncom/auth/lonacc.pm:1.76	Thu Apr 13 15:07:33 2006
+++ loncom/auth/lonacc.pm	Thu Apr 13 16:47:39 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.76 2006/04/13 19:07:33 albertel Exp $
+# $Id: lonacc.pm,v 1.77 2006/04/13 20:47:39 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -69,7 +69,7 @@
 	    $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg;
 	    $name  =~ tr/+/ /;
 	    $name  =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg;
-	    &add_to_env("form.$name",$value);
+	    &Apache::loncommon::add_to_env("form.$name",$value);
 	}
     } else {
 	my $contentsep=$1;
@@ -89,7 +89,7 @@
 		    } else {
 			$value=~s/\s+$//s;
 		    }
-		    &add_to_env("form.$name",$value);
+		    &Apache::loncommon::add_to_env("form.$name",$value);
 		}
 		if ($i<$#lines) {
 		    $i++;