]> 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)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 15 Sep 2009 00:29:39 +0000 (20:29 -0400)
commit5de6ec3c155ece9ac9589ca20d97ba9aee098608
tree4b22df2873f5c577a82712e598f9ce447b512106
parent5934b8d8aea5a55c9948f379fd26f60f7253d0d7
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