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

raeburn raeburn at source.lon-capa.org
Mon Jan 13 19:49:35 EST 2025


raeburn		Tue Jan 14 00:49:35 2025 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Domain configuration for availability of "directory" and "non-directory"
    user information. When one institutional status type changes from having no
    data available to some data available, that should indicate change occurred.  
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.449 loncom/interface/domainprefs.pm:1.450
--- loncom/interface/domainprefs.pm:1.449	Sun Jan 12 16:23:33 2025
+++ loncom/interface/domainprefs.pm	Tue Jan 14 00:49:34 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.449 2025/01/12 16:23:33 raeburn Exp $
+# $Id: domainprefs.pm,v 1.450 2025/01/14 00:49:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -17983,6 +17983,8 @@
                     if (@diffs > 0) {
                         $changes{$status} = 1;
                     }
+                } elsif (@newvalues > 0) {
+                    $changes{$status} = 1;
                 }
             } else {
                 my @stdfields;
@@ -18022,6 +18024,8 @@
                     if (@diffs > 0) {
                         $changes{'othdom'} = 1;
                     }
+                } elsif (@newvalues > 0) {
+                    $changes{'othdom'} = 1;
                 }
             } else {
                 my @stdfields = ('lastname','firstname','middlename','generation','permanentemail');




More information about the LON-CAPA-cvs mailing list