--- loncom/build/expire_DC_role.pl 2015/03/10 20:19:14 1.6 +++ loncom/build/expire_DC_role.pl 2015/03/10 21:24:53 1.7 @@ -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 @@ if (!$domrolesref) { # 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.