View | Details | Raw Unified | Return to bug 31203
Collapse All | Expand All

(-)a/C4/Log.pm (-4 / +4 lines)
Lines 131-140 Logs the path and name of the calling script plus the information privided by pa Link Here
131
131
132
#'
132
#'
133
sub cronlogaction {
133
sub cronlogaction {
134
    my ($infos)=@_;
134
    my $params = shift;
135
    my $info = $params->{info};
135
    my $loginfo = (caller(0))[1];
136
    my $loginfo = (caller(0))[1];
136
    $loginfo .= ' ' . $infos if $infos;
137
    $loginfo .= ' ' . $info if $info;
137
    logaction( 'CRONJOBS', 'Run', undef, $loginfo ) if C4::Context->preference('CronjobLog');
138
    logaction( 'CRONJOBS', 'Run', $$, $loginfo ) if C4::Context->preference('CronjobLog');
138
}
139
}
139
140
140
1;
141
1;
141
- 

Return to bug 31203