--- loncom/interface/loncommon.pm 2018/11/07 19:23:45 1.1323 +++ loncom/interface/loncommon.pm 2019/01/26 00:18:48 1.1325 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1323 2018/11/07 19:23:45 raeburn Exp $ +# $Id: loncommon.pm,v 1.1325 2019/01/26 00:18:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -13937,7 +13937,7 @@ sub load_tmp_file { sub valid_datatoken { my ($datatoken) = @_; - if ($datatoken =~ /^$match_username\_$match_domain\_enroll_$match_domain\_$match_courseid\_\d+_\d+$/) { + if ($datatoken =~ /^$match_username\_$match_domain\_enroll_(|$match_domain\_$match_courseid)\_\d+_\d+$/) { return $datatoken; } return; @@ -16425,6 +16425,7 @@ sub lon_status_items { E => 100, W => 4, N => 1, + U => 5, threshold => 200, sysmail => 2500, ); @@ -16432,6 +16433,7 @@ sub lon_status_items { E => 'Errors', W => 'Warnings', N => 'Notices', + U => 'Unsent', ); return (\%defaults,\%names); }