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

raeburn raeburn at source.lon-capa.org
Tue Aug 7 13:41:41 EDT 2018


raeburn		Tue Aug  7 17:41:41 2018 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  - Fewer calls to courseiddump().
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.227 loncom/interface/lonindexer.pm:1.228
--- loncom/interface/lonindexer.pm:1.227	Wed Aug  9 20:36:39 2017
+++ loncom/interface/lonindexer.pm	Tue Aug  7 17:41:40 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.227 2017/08/09 20:36:39 raeburn Exp $
+# $Id: lonindexer.pm,v 1.228 2018/08/07 17:41:40 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -721,7 +721,7 @@
             }
             if ($udom ne '' && $uname ne '') {
                 # Don't display "course author" directory.
-                next if (&Apache::lonnet::is_course($udom,$uname));
+                next if (&Apache::lonnet::is_course($udom.'_'.$uname));
             }
         }
 	my (@fileparts) = split(/\./,$strip);




More information about the LON-CAPA-cvs mailing list