[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

www www@source.lon-capa.org
Sat, 11 Dec 2010 14:28:12 -0000


www		Sat Dec 11 14:28:12 2010 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  If it restores the old folder path for students, it should also store it. Original reasoning unclear.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.446 loncom/interface/londocs.pm:1.447
--- loncom/interface/londocs.pm:1.446	Sat Dec 11 00:09:52 2010
+++ loncom/interface/londocs.pm	Sat Dec 11 14:28:12 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.446 2010/12/11 00:09:52 www Exp $
+# $Id: londocs.pm,v 1.447 2010/12/11 14:28:12 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2791,12 +2791,9 @@
     } 
 
 # Store this
-    if ($allowed) {
-       &Apache::loncommon::store_course_settings($stored_folderpath,
+    &Apache::loncommon::store_course_settings($stored_folderpath,
                                                 {'pagepath' => 'scalar',
                                                  'folderpath' => 'scalar'});
-    }
-
 
     if ($env{'form.folderpath'}) {
 	my (@folderpath)=split('&',$env{'form.folderpath'});