[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Fri Feb 1 21:48:47 EST 2013
raeburn Sat Feb 2 02:48:47 2013 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Domain Configuration to set recipients of nightly e-mail if module
changes or LON-CAPA updates are detected.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.189 loncom/interface/domainprefs.pm:1.190
--- loncom/interface/domainprefs.pm:1.189 Sat Feb 2 00:22:51 2013
+++ loncom/interface/domainprefs.pm Sat Feb 2 02:48:47 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.189 2013/02/02 00:22:51 raeburn Exp $
+# $Id: domainprefs.pm,v 1.190 2013/02/02 02:48:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2322,7 +2322,7 @@
my @contacts = ('adminemail','supportemail');
my (%checked,%to,%otheremails,%bccemails);
my @mailings = ('errormail','packagesmail','lonstatusmail','helpdeskmail',
- 'requestsmail');
+ 'requestsmail','updatesmail');
foreach my $type (@mailings) {
$otheremails{$type} = '';
}
@@ -2358,6 +2358,7 @@
$checked{'helpdeskmail'}{'supportemail'} = ' checked="checked" ';
$checked{'lonstatusmail'}{'adminemail'} = ' checked="checked" ';
$checked{'requestsmail'}{'adminemail'} = ' checked="checked" ';
+ $checked{'updatesmail'}{'adminemail'} = ' checked="checked" ';
}
my ($titles,$short_titles) = &contact_titles();
my $rownum = 0;
@@ -3248,6 +3249,7 @@
'helpdeskmail' => 'Helpdesk requests to be e-mailed to',
'lonstatusmail' => 'E-mail from nightly status check (warnings/errors)',
'requestsmail' => 'E-mail from course requests requiring approval',
+ 'updatesmail' => 'E-mail from nightly check of LON-CAPA module integrity/updates',
);
my %short_titles = &Apache::lonlocal::texthash (
adminemail => 'Admin E-mail address',
@@ -6556,7 +6558,7 @@
my (%others,%to,%bcc);
my @contacts = ('supportemail','adminemail');
my @mailings = ('errormail','packagesmail','helpdeskmail','lonstatusmail',
- 'requestsmail');
+ 'requestsmail','updatesmail');
foreach my $type (@mailings) {
@{$newsetting{$type}} =
&Apache::loncommon::get_env_multiple('form.'.$type);
@@ -6612,6 +6614,7 @@
$default{'helpdeskmail'} = 'supportemail';
$default{'lonstatusmail'} = 'adminemail';
$default{'requestsmail'} = 'adminemail';
+ $default{'updatesmail'} = 'adminemail';
foreach my $item (@contacts) {
if ($to{$item} ne $default{$item}) {
$changes{$item} = 1;
More information about the LON-CAPA-cvs
mailing list