Bugzilla – Attachment 38409 Details for
Bug 13889
Add information about cron jobs to system log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13889 [QA Followup] - Supress warning, set object column to undef instead of 0
Bug-13889-QA-Followup---Supress-warning-set-object.patch (text/plain), 907 bytes, created by
Kyle M Hall (khall)
on 2015-04-23 11:53:25 UTC
(
hide
)
Description:
Bug 13889 [QA Followup] - Supress warning, set object column to undef instead of 0
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-23 11:53:25 UTC
Size:
907 bytes
patch
obsolete
>From 367cb8a25cc4ca32fc6d9d7f77500876a3a3a0a5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 23 Apr 2015 07:51:30 -0400 >Subject: [PATCH] Bug 13889 [QA Followup] - Supress warning, set object column to undef instead of 0 > >--- > C4/Log.pm | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/Log.pm b/C4/Log.pm >index 6871add..f925040 100644 >--- a/C4/Log.pm >+++ b/C4/Log.pm >@@ -93,8 +93,9 @@ Logs the path and name of the calling script plus the information privided by pa > #' > sub cronlogaction { > my ($infos)=@_; >- my $loginfo = (caller(0))[1] . ' ' . $infos; >- logaction( 'CRONJOBS', 'Run', 0, $loginfo ) if C4::Context->preference('CronjobLog'); >+ my $loginfo = (caller(0))[1]; >+ $loginfo .= ' ' . $infos if $infos; >+ logaction( 'CRONJOBS', 'Run', undef, $loginfo ) if C4::Context->preference('CronjobLog'); > } > > >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13889
:
37082
|
37325
|
37679
|
37707
|
37711
|
38116
|
38183
|
38227
|
38228
|
38229
|
38230
|
38236
|
38239
|
38283
|
38406
|
38407
|
38408
| 38409