[LON-CAPA-cvs] cvs: rat(version_1_2_X) / lonuserstate.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 19 Jan 2005 20:18:45 -0000
albertel Wed Jan 19 15:18:45 2005 EDT
Modified files: (Branch: version_1_2_X)
/rat lonuserstate.pm
Log:
- encrypturl doens't work in 1.2.X so make it just hide them
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.78 rat/lonuserstate.pm:1.78.2.1
--- rat/lonuserstate.pm:1.78 Tue May 11 02:28:23 2004
+++ rat/lonuserstate.pm Wed Jan 19 15:18:44 2005
@@ -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.78 2004/05/11 06:28:23 albertel Exp $
+# $Id: lonuserstate.pm,v 1.78.2.1 2005/01/19 20:18:44 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -289,7 +289,7 @@
}
if ($token->[2]->{'name'}=~/^parameter_(0_)*encrypturl$/) {
if ($token->[2]->{'value'}=~/^yes$/i) {
- $encurl{$referid}=1;
+ $hiddenurl{$referid}=1;
}
}
if ($token->[2]->{'name'}=~/^parameter_(0_)*hiddenresource$/) {