]> git.koha-community.org Git - koha.git/commit
refactor C4::Auth::get_template_and_user for readability
authorAndrew Moore <andrew.moore@liblime.com>
Fri, 20 Jun 2008 18:01:58 +0000 (13:01 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 20 Jun 2008 18:04:48 +0000 (13:04 -0500)
commit3c547de4488307df5e9027363ad830aa0a84d049
tree9e2d116bb72a63c290cae2f4dac5e2f914537373
parentd8654344fa806d4a8ce7d675ae396b4016877ec2
refactor C4::Auth::get_template_and_user for readability

I'd like to add another template parameter to geta_template_and user, but found it diffiult due to unreadability.

I stanadardized the whitespace in a portion of get_template_and_user,
alphabetized the parameters, finding a duplicate in one spot,
and then extracted the common template parameters that are set the same
regardless of template type.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm