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 commitb3a0d75a40) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit1fe48f965c) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
dcb767b9bb
commit
ffccde580a
|
|
@ -90,10 +90,9 @@ sub logaction {
|
|||
}
|
||||
}
|
||||
|
||||
my $script =
|
||||
$interface eq 'cron' ? basename($0)
|
||||
: $interface eq 'commandline' ? basename($0)
|
||||
: undef;
|
||||
my $script = ( $interface eq 'cron' or $interface eq 'commandline' )
|
||||
? basename($0)
|
||||
: undef;
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface,script) values (now(),?,?,?,?,?,?,?)");
|
||||
|
|
|
|||
Loading…
Reference in New Issue