Bugzilla – Attachment 75427 Details for
Bug 18821
TrackLastPatronActivity is a performance killer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18821 - Flush session after setting tracked_for_session
Bug-18821---Flush-session-after-setting-trackedfor.patch (text/plain), 772 bytes, created by
Kyle M Hall (khall)
on 2018-05-18 12:40:51 UTC
(
hide
)
Description:
Bug 18821 - Flush session after setting tracked_for_session
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-05-18 12:40:51 UTC
Size:
772 bytes
patch
obsolete
>From c132d67d538e868f27f98bbb2f3e35c6826a87ac Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Fri, 18 May 2018 08:40:33 -0400 >Subject: [PATCH] Bug 18821 - Flush session after setting tracked_for_session > >--- > C4/Auth.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 00e92ccab8..9554cd8d6e 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -2092,6 +2092,7 @@ sub track_login_for_session { > > if ( $userid && $session && !$session->param('tracked_for_session') ) { > $session->param( 'tracked_for_session', 1 ); >+ $session->flush(); > > # track_login also depends on pref TrackLastPatronActivity > my $patron = Koha::Patrons->find( { userid => $userid } ); >-- >2.15.1 (Apple Git-101)
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 18821
:
64425
|
64426
|
65687
|
73175
|
73706
|
73863
|
73891
|
73892
|
73893
|
75139
|
75288
|
75289
|
75427
|
75632
|
75633
|
75634
|
75635
|
75727
|
75728
|
75729
|
75733