[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 09 Jun 2005 20:41:42 -0000
www Thu Jun 9 16:41:42 2005 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Don't throw away stuff that would have grades associated with it
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.183 loncom/interface/londocs.pm:1.184
--- loncom/interface/londocs.pm:1.183 Thu Jun 9 14:01:29 2005
+++ loncom/interface/londocs.pm Thu Jun 9 16:41:38 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.183 2005/06/09 18:01:29 www Exp $
+# $Id: londocs.pm,v 1.184 2005/06/09 20:41:38 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1077,7 +1077,7 @@
if ($cmd eq 'del') {
my (undef,$url)=split(':',$Apache::lonratedt::resources[$Apache::lonratedt::order[$idx]]);
if ($url=~m|/+uploaded/\Q$coursedom\E/\Q$coursenum\E/|) {
- unless ($url=~/\.(page|sequence)$/) {
+ unless ($url=~/\.(page|sequence|problem|exam|quiz|assess|survey|form|library)$/) {
&Apache::lonnet::removeuploadedurl($url);
}
}