Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f30c78b8
Commit
f30c78b8
authored
Sep 18, 2013
by
Leigh B Stoller
Browse files
Turn off admin mailing lists.
parent
02840d1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
db/Project.pm.in
View file @
f30c78b8
#
!/usr/bin/perl -wT
#
#
Copyright
(
c
)
2005
-
201
1
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2005
-
201
3
University
of
Utah
and
the
Flux
Group
.
#
#
{{{
EMULAB
-
LICENSE
#
...
...
@@ -332,7 +332,7 @@ sub Create($$$$)
#
#
Now
create
the
per
-
project
Admin
List
#
if
($
MAILMANSUPPORT
&&
!$nonlocal) {
if
(
0
&&
$
MAILMANSUPPORT
&&
!$nonlocal) {
my
$
res
=
system
(
"$ADDPROJADMINLIST $pid"
);
if
($
res
!= 0) {
SENDMAIL
($
TBOPS
,
"Addprojadminlist failed!"
,
...
...
tbsetup/libtestbed.pm.in
View file @
f30c78b8
...
...
@@ -108,7 +108,7 @@ sub TBMAIL_AUDIT() { "Testbed Audit <$TBAUDITEMAIL>" }
#
TBMAIL_PROJADMIN
should
,
in
general
,
not
be
used
directly
,
use
#
SendProjAdminMail
sub
TBMAIL_PROJADMIN
($)
{
@
MAILMANSUPPORT
@
?
"$_[0]-admin\@@OURDOMAIN@"
:
"@TBAPPROVALEMAIL@"
;
0
&&
@
MAILMANSUPPORT
@
?
"$_[0]-admin\@@OURDOMAIN@"
:
"@TBAPPROVALEMAIL@"
;
}
sub
TBMAIL_APPROVAL
()
{
"@TBAPPROVALEMAIL@"
;
...
...
tbsetup/rmproj.in
View file @
f30c78b8
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-201
1
University of Utah and the Flux Group.
# Copyright (c) 2000-201
3
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -235,7 +235,7 @@ if (system("$RMGROUP $pid_idx")) {
# Now remote the proj admin list, but only if the proj was never
# approved
#
if
(
$MAILMANSUPPORT
)
{
if
(
0
&&
$MAILMANSUPPORT
)
{
my
$approved
=
DBQuerySingleFatal
("
select approved from projects where pid='
$pid
'
");
if
(
!
$approved
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment