Bug 30984: (QA follow-up) Ternary formatting style
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b3a0d75a40
)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
5767add2cc
commit
1fe48f965c
1 changed files with 3 additions and 4 deletions
|
@ -90,9 +90,8 @@ sub logaction {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my $script =
|
my $script = ( $interface eq 'cron' or $interface eq 'commandline' )
|
||||||
$interface eq 'cron' ? basename($0)
|
? basename($0)
|
||||||
: $interface eq 'commandline' ? basename($0)
|
|
||||||
: undef;
|
: undef;
|
||||||
|
|
||||||
my $dbh = C4::Context->dbh;
|
my $dbh = C4::Context->dbh;
|
||||||
|
|
Loading…
Reference in a new issue