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
242ebd68
Commit
242ebd68
authored
Oct 31, 2000
by
Leigh B. Stoller
Browse files
Add bogus proj_memb insertion.
parent
a3ad4628
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/approved.php3
View file @
242ebd68
...
...
@@ -90,6 +90,12 @@ while ($row = mysql_fetch_row($found)) {
$cmd
=
"update grp_memb set trust='
$trust
' where uid='
$uid
'"
;
$cmd
.
=
"and trust='none' and gid='
$gid
'"
;
$result
=
mysql_db_query
(
"tbdb"
,
$cmd
);
#
# Bogus grp vs proj issue.
#
$cmd
=
"insert into proj_memb (uid, pid) values ('
$uid
', '
$gid
')"
;
$result
=
mysql_db_query
(
"tbdb"
,
$cmd
);
mail
(
"
$email
"
,
"TESTBED: Group Approval"
,
"
\n
This message is to notify you that you have been approved "
.
"as a member of
\n
the
$gid
group with
$trust
permissions.
\n
"
.
...
...
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