Commit 879dd913 authored by Mike Hibler's avatar Mike Hibler

Minor cleanups.

parent 184bac38
......@@ -224,7 +224,7 @@ if ($uid) {
$user = User->Lookup($uid);
if (TBAdmin()) {
if (!defined($user)) {
fatal("No such user $uid\n");
fatal("No such user $uid");
}
} else {
if (!$user || !$user->SameUser($this_user)) {
......@@ -241,7 +241,7 @@ if ($uid) {
#
my $project = Project->Lookup($pid);
if (!defined($project)) {
fatal("No such project $pid\n");
fatal("No such project $pid");
}
if (!TBAdmin() &&
!$project->AccessCheck($this_user, TB_PROJECT_CREATELEASE())) {
......
......@@ -64,7 +64,6 @@ sub fatal($);
# Configure variables
#
my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
#
# Testbed Support libraries
......
......@@ -70,7 +70,6 @@ sub fatal($);
# Configure variables
#
my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
#
# Testbed Support libraries
......
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