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
ceeb3cd0
Commit
ceeb3cd0
authored
Feb 24, 2007
by
Russ Fish
Browse files
A couple more little bugs in firstinit.
parent
a211a659
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/group_defs.php
View file @
ceeb3cd0
...
...
@@ -418,7 +418,8 @@ class Group
TBERROR
(
"Group::Initialize: Could not find user
$uid
!"
,
1
);
}
if
(
$emulabgroup
->
AddNewMember
(
$user
)
<
0
)
{
if
(
!
$emulabgroup
->
IsMember
(
$user
,
$ignore
)
&&
$emulabgroup
->
AddNewMember
(
$user
)
<
0
)
{
TBERROR
(
"Group::Initialize: Could not add
$uid
to
$TBOPSPID
!"
,
1
);
}
...
...
www/newproject.php3
View file @
ceeb3cd0
...
...
@@ -984,6 +984,7 @@ if (! ($project = Project::NewNewProject($leader, $args, $error))) {
# Need to do some extra work for the first project; eventually move to backend
#
if
(
$FirstInitState
)
{
$pid
=
TBGetFirstInitPid
();
Group
::
Initialize
(
$proj_head_uid
,
$pid
);
#
...
...
Write
Preview
Markdown
is supported
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