[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
From:       raeburn <raeburn () source ! lon-capa ! org>
Date:       2011-10-31 15:09:50
Message-ID: cvsraeburn1320073790 () cvsserver
[Download RAW message or body]

raeburn		Mon Oct 31 15:09:50 2011 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Clean up after changes for bug 1320.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.356 loncom/interface/lonmenu.pm:1.357
--- loncom/interface/lonmenu.pm:1.356	Mon Oct 31 13:44:30 2011
+++ loncom/interface/lonmenu.pm	Mon Oct 31 15:09:50 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.356 2011/10/31 13:44:30 raeburn Exp $
+# $Id: lonmenu.pm,v 1.357 2011/10/31 15:09:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -491,8 +491,8 @@
                     $uploaded = &is_course_upload($file,$cnum,$cdom);
                 }
                 if (!$uploaded) {
-                 
-                    $file=~s{^($match_domain)/($match_username)}{/priv/$1/$2};
+
+                    $file=~s{^(priv/$match_domain/$match_username)}{/$1};
 
                     # Check that the user has permission to edit this resource
                     my $setpriv = 1;


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic