[LON-CAPA-cvs] cvs: rat / lonuserstate.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 25 May 2006 21:09:45 -0000


albertel		Thu May 25 17:09:45 2006 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - removing unned use of Apache::File
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.112 rat/lonuserstate.pm:1.113
--- rat/lonuserstate.pm:1.112	Fri May 12 11:30:53 2006
+++ rat/lonuserstate.pm	Thu May 25 17:09:45 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.112 2006/05/12 15:30:53 matthew Exp $
+# $Id: lonuserstate.pm,v 1.113 2006/05/25 21:09:45 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -681,7 +681,7 @@
     if (-e $fn) {
 	my @conditions=();
 	{
-	    my $fh=Apache::File->new($fn);
+	    open(my $fh,$fn);
 	    @conditions=<$fh>;
 	}  
 	my $safeeval = new Safe;