Cleanup returns, consolidate some repeated logic.
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 19 May 2009 18:23:49 +0000 (13:23 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 20 May 2009 13:41:18 +0000 (08:41 -0500)
commit89391ca8310d955930b0ef494d0cc80e13238563
treee95a0799005598012ad7f250a68e142718c15977
parent6bb030a0f73b13fe1b69f51c066b6c795b1dd1a8
Cleanup returns, consolidate some repeated logic.

Use one $userenv_branch instead of many calls to C4::Context->userenv->{'branch'}
for comparisons.  Script is not warnings safe yet, but getting closer.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
circ/returns.pl