[LON-CAPA-cvs] cvs: loncom /build expire_DC_role.pl

raeburn raeburn at source.lon-capa.org
Tue Mar 10 17:24:53 EDT 2015


raeburn		Tue Mar 10 21:24:53 2015 EDT

  Modified files:              
    /loncom/build	expire_DC_role.pl 
  Log:
  - Correctly set end date in nohist_domainroles.db
  
  
Index: loncom/build/expire_DC_role.pl
diff -u loncom/build/expire_DC_role.pl:1.6 loncom/build/expire_DC_role.pl:1.7
--- loncom/build/expire_DC_role.pl:1.6	Tue Mar 10 20:19:14 2015
+++ loncom/build/expire_DC_role.pl	Tue Mar 10 21:24:53 2015
@@ -6,7 +6,7 @@
 # a user who currently has such a role in a domain for which current server is
 # a library server for the domain.
 # 
-# $Id: expire_DC_role.pl,v 1.6 2015/03/10 20:19:14 raeburn Exp $
+# $Id: expire_DC_role.pl,v 1.7 2015/03/10 21:24:53 raeburn Exp $
 #
 # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
 #
@@ -194,7 +194,7 @@
 
 # Store in nohist_domainroles.db
 my $domkey=&LONCAPA::escape('dc:'.$username.':'.$domain.'::'.$domain.':');
-$domrolesref->{$domkey}= &LONCAPA::escape('$now:'.$start);
+$domrolesref->{$domkey}= &LONCAPA::escape($now.':'.$start);
 &LONCAPA::locking_hash_untie($domrolesref);
 
  system('/bin/chown',"www:www","$dompath/nohist_domainroles.db"); # Must be writeable by httpd process.




More information about the LON-CAPA-cvs mailing list