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

raeburn raeburn@source.lon-capa.org
Sun, 26 Apr 2009 00:43:14 -0000


raeburn		Sun Apr 26 00:43:14 2009 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - Add appropriate description
  - Correct priv in $env{'user.error.msg'} if opa priv is absent. 
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.1 loncom/interface/courseprefs.pm:1.2
--- loncom/interface/courseprefs.pm:1.1	Sun Apr 26 00:07:16 2009
+++ loncom/interface/courseprefs.pm	Sun Apr 26 00:43:14 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
-# Handler to set domain-wide configuration settings
+# Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.1 2009/04/26 00:07:16 raeburn Exp $
+# $Id: courseprefs.pm,v 1.2 2009/04/26 00:43:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,7 +58,7 @@
     } else {
         if ($navmap) {
             $env{'user.error.msg'}=
-                "/adm/courseprefs:mau:0:0:Cannot modify course settings";
+                "/adm/courseprefs:opa:0:0:Cannot modify course settings";
         } else {
            $env{'user.error.msg'}=
                 "/adm/courseprefs::0:1:Course environment gone, reinitialize the course";