Bugzilla – Attachment 75189 Details for
Bug 20402
OAuth2 client credentials grant for REST API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20402: only output if verbose flag is set
Bug-20402-only-output-if-verbose-flag-is-set.patch (text/plain), 838 bytes, created by
Jonathan Druart
on 2018-05-08 19:45:17 UTC
(
hide
)
Description:
Bug 20402: only output if verbose flag is set
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-05-08 19:45:17 UTC
Size:
838 bytes
patch
obsolete
>From cf2070dd1741be38399f59eaca8fb2793f0d8e9b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 8 May 2018 16:44:42 -0300 >Subject: [PATCH] Bug 20402: only output if verbose flag is set > >--- > misc/cronjobs/cleanup_database.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl >index b8f550fb5e..3e6c504532 100755 >--- a/misc/cronjobs/cleanup_database.pl >+++ b/misc/cronjobs/cleanup_database.pl >@@ -341,7 +341,7 @@ if ($oauth_tokens) { > require Koha::OAuthAccessTokens; > > my $count = int Koha::OAuthAccessTokens->search({ expires => { '<=', time } })->delete; >- say "Removed $count expired OAuth2 tokens"; >+ say "Removed $count expired OAuth2 tokens" if $verbose; > } > > exit(0); >-- >2.11.0
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 20402
:
72865
|
72874
|
72886
|
72887
|
72888
|
72892
|
72893
|
72894
|
73086
|
73087
|
74009
|
74018
|
74050
|
74051
|
74069
|
74070
|
74088
|
74365
|
74366
|
74367
|
74368
|
74369
|
74380
|
74381
|
74382
|
74383
|
74384
|
74385
|
74386
|
74600
|
75026
|
75027
|
75028
|
75029
|
75030
|
75031
|
75032
|
75033
| 75189