Bugzilla – Attachment 75033 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: Remove useless call to Koha::OAuthAccessTokens->search
Bug-20402-Remove-useless-call-to-KohaOAuthAccessTo.patch (text/plain), 722 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-05-03 19:06:46 UTC
(
hide
)
Description:
Bug 20402: Remove useless call to Koha::OAuthAccessTokens->search
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-05-03 19:06:46 UTC
Size:
722 bytes
patch
obsolete
>From ea48fbc04bf6a40e393640a46927cba3fbe47ee8 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 20 Apr 2018 10:37:37 +0200 >Subject: [PATCH] Bug 20402: Remove useless call to > Koha::OAuthAccessTokens->search > >--- > Koha/REST/V1/OAuth.pm | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/Koha/REST/V1/OAuth.pm b/Koha/REST/V1/OAuth.pm >index 7be1a46e27..727838bf2e 100644 >--- a/Koha/REST/V1/OAuth.pm >+++ b/Koha/REST/V1/OAuth.pm >@@ -48,8 +48,6 @@ sub token { > expires_in => $expires_in, > ); > >- my $at = Koha::OAuthAccessTokens->search({ access_token => $token })->next; >- > my $response = { > access_token => $token, > token_type => 'Bearer', >-- >2.17.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