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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 20 Jun 2003 18:57:58 -0000


albertel		Fri Jun 20 14:57:58 2003 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - changed titlecache to also store a time
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.58 rat/lonuserstate.pm:1.59
--- rat/lonuserstate.pm:1.58	Wed Apr 30 17:13:57 2003
+++ rat/lonuserstate.pm	Fri Jun 20 14:57:58 2003
@@ -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.58 2003/04/30 21:13:57 albertel Exp $
+# $Id: lonuserstate.pm,v 1.59 2003/06/20 18:57:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -125,7 +125,7 @@
                       &Apache::lonnet::declutter($uri).'___'.
                       $token->[2]->{'id'}.'___'.
 		      &Apache::lonnet::declutter($turi))}=
-                          $token->[2]->{'title'};
+                          [$token->[2]->{'title'},time];
                     unless ($ispage) {
                         $turi=~/\.(\w+)$/;
                         my $embstyle=&Apache::loncommon::fileembstyle($1);