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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 02 Aug 2006 02:34:55 -0000


raeburn		Tue Aug  1 22:34:55 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  &prepend_group() already added the group identifier as per FIXME. 
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.140 loncom/interface/portfolio.pm:1.141
--- loncom/interface/portfolio.pm:1.140	Sun Jul 30 15:38:13 2006
+++ loncom/interface/portfolio.pm	Tue Aug  1 22:34:54 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.140 2006/07/30 19:38:13 banghart Exp $
+# $Id: portfolio.pm,v 1.141 2006/08/02 02:34:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1484,10 +1484,6 @@
             $file_name = $env{'form.currentpath'}.$file_name;
             $file_name = &prepend_group($file_name);
             $found_file = 1;
-	    # FIXME I think this is incorrect, prepend_group took care of this?
-            if (defined($group)) {
-                $file_name = $group.'/'.$file_name;
-            }
             if (&Apache::lonnet::is_locked($file_name,$udom,$uname) eq 'true') {
                 $locked_file = 1;
             }