[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 22 Sep 2003 19:32:50 -0000
albertel Mon Sep 22 15:32:50 2003 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- turns out it was used (lonparmset)
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.420 loncom/lonnet/perl/lonnet.pm:1.421
--- loncom/lonnet/perl/lonnet.pm:1.420 Fri Sep 19 15:38:24 2003
+++ loncom/lonnet/perl/lonnet.pm Mon Sep 22 15:32:49 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.420 2003/09/19 19:38:24 albertel Exp $
+# $Id: lonnet.pm,v 1.421 2003/09/22 19:32:49 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3294,6 +3294,14 @@
}
}
return $result;
+}
+
+# ---------------------------------------------------- Devalidate courseresdata
+
+sub devalidatecourseresdata {
+ my ($coursenum,$coursedomain)=@_;
+ my $hashid=$coursenum.':'.$coursedomain;
+ &devalidate_cache(\%courseresdatacache,$hashid);
}
# --------------------------------------------------- Course Resourcedata Query