]> git.koha-community.org Git - koha.git/commit
Avoid potentially unnecessary database call in Auth
authorMichael Hafen <mdhafen@tech.washk12.org>
Mon, 14 Sep 2009 15:07:57 +0000 (09:07 -0600)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Sat, 19 Sep 2009 21:47:09 +0000 (23:47 +0200)
commitdbc0161cdc8da7687220bc158018fc83b89be623
tree4c64406e465c036abedc0ff9966c86ebdfed8781
parentdfa8b99296ea1f891b2f6a266db5653e4658dfb1
Avoid potentially unnecessary database call in Auth

Auth, after verifying the session/logging in the user, calls to the database
to get the users borrowernumber.  This call is probably unnecessary because
borrowernumber is part of userenv.  Check userenv before going to the database.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Auth.pm