[LON-CAPA-cvs] cvs: loncom /cgi userstatus.pl

raeburn raeburn at source.lon-capa.org
Thu Jul 5 11:23:59 EDT 2018


raeburn		Thu Jul  5 15:23:59 2018 EDT

  Modified files:              
    /loncom/cgi	userstatus.pl 
  Log:
  - Ignore symlinks in lonIDs directory when computing user session counts.
  
  
Index: loncom/cgi/userstatus.pl
diff -u loncom/cgi/userstatus.pl:1.20 loncom/cgi/userstatus.pl:1.21
--- loncom/cgi/userstatus.pl:1.20	Tue Mar 23 12:01:49 2010
+++ loncom/cgi/userstatus.pl	Thu Jul  5 15:23:59 2018
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 $|=1;
 # User Status
-# $Id: userstatus.pl,v 1.20 2010/03/23 12:01:49 bisitz Exp $
+# $Id: userstatus.pl,v 1.21 2018/07/05 15:23:59 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -137,6 +137,7 @@
     foreach my $filename (@allfiles) {
 	if ($filename=~/^\./) { next; }
 	if ($filename=~/^publicuser_/) { next; }
+        if ($filename=~/^[a-f0-9]+_(linked|lti_\d+)\.id$/) { next; }
 	my ($dev,$ino,$mode,$nlink,
 	    $uid,$gid,$rdev,$size,
 	    $atime,$mtime,$ctime,




More information about the LON-CAPA-cvs mailing list