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

raeburn raeburn at source.lon-capa.org
Sat Jun 11 00:30:48 EDT 2022


raeburn		Sat Jun 11 04:30:48 2022 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Reverse changes in rev. 1.324; stop setting register=1 for /adm/navmaps
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.522 loncom/interface/lonmenu.pm:1.523
--- loncom/interface/lonmenu.pm:1.522	Wed Jun  8 01:42:20 2022
+++ loncom/interface/lonmenu.pm	Sat Jun 11 04:30:48 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.522 2022/06/08 01:42:20 raeburn Exp $
+# $Id: lonmenu.pm,v 1.523 2022/06/11 04:30:48 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -887,10 +887,7 @@
                     }
                 }
             }
-            unless (($forcereg) &&
-                    ($env{'request.noversionuri'} eq '/adm/navmaps') &&
-                    ($mapurl eq $env{'course.'.$env{'request.course.id'}.'.url'}) ||
-                    (($crstype eq 'Placement') && (!$env{'request.role.adv'})) ||
+            unless ((($crstype eq 'Placement') && (!$env{'request.role.adv'})) ||
                     ($ltiscope eq 'map') || ($ltiscope eq 'resource')) {
                 @crumbs = ({text  => $crstype.' Contents', 
                             href  => "Javascript:gopost('/adm/navmaps','')"});




More information about the LON-CAPA-cvs mailing list