Bug 34073 - We appear to repeatedly look up the user in Auth.pm
Summary: We appear to repeatedly look up the user in Auth.pm
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-21 06:13 UTC by Martin Renvoize (ashimema)
Modified: 2023-06-21 06:13 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2023-06-21 06:13:49 UTC
I quick scan of Auth.pm earlier today made me think we needlessly look up the user form the database multiple times. We should be able to perform that lookup once and then reuse the object throughout the r of the process.