Commit f777e59c authored by Mike Hibler's avatar Mike Hibler

Nit: do not skip exports_setup in $nocollabtools case.

parent 06d12c82
...@@ -521,34 +521,31 @@ sub AddUser() ...@@ -521,34 +521,31 @@ sub AddUser()
$target_user->Update({'initial_passphrase' => "NULL"}); $target_user->Update({'initial_passphrase' => "NULL"});
} }
if ($nocollabtools) { if (!$nocollabtools) {
$EUID = 0; # Add to elists.
goto skipstuff; system("$GENELISTS -u $user")
if (! $batch);
# And to the wiki if enabled.
system("$ADDWIKIUSER $user")
if ($WIKISUPPORT && $user ne $PROTOUSER);
# And to the bugdb if enabled.
system("$ADDBUGDBUSER $user")
if ($BUGDBSUPPORT && $user ne $PROTOUSER);
# And to the OPS db if enabled.
system("$OPSDBCONTROL adduser $user")
if ($OPSDBSUPPORT && $user ne $PROTOUSER);
# And to the chat server if enabled.
system("$ADDCHATUSER $user")
if ($CHATSUPPORT && $user ne $PROTOUSER);
# And to the trac system if enabled.
system("$ADDTRACUSER $user")
if ($TRACSUPPORT && $user ne $PROTOUSER);
} }
# Add to elists.
system("$GENELISTS -u $user")
if (! $batch);
# And to the wiki if enabled.
system("$ADDWIKIUSER $user")
if ($WIKISUPPORT && $user ne $PROTOUSER);
# And to the bugdb if enabled.
system("$ADDBUGDBUSER $user")
if ($BUGDBSUPPORT && $user ne $PROTOUSER);
# And to the OPS db if enabled.
system("$OPSDBCONTROL adduser $user")
if ($OPSDBSUPPORT && $user ne $PROTOUSER);
# And to the chat server if enabled.
system("$ADDCHATUSER $user")
if ($CHATSUPPORT && $user ne $PROTOUSER);
# And to the trac system if enabled.
system("$ADDTRACUSER $user")
if ($TRACSUPPORT && $user ne $PROTOUSER);
# #
# Must update the exports file or else nodes will complain. There # Must update the exports file or else nodes will complain. There
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment