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)
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>

No differences found