Bug 13114: Prevent Shibboleth Patches from spamming logs
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Oct 2014 13:04:45 +0000 (13:04 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Oct 2014 00:10:48 +0000 (21:10 -0300)
commit5dfc026fad2b0e92e00e501cf15284fae042a711
treeea6e01986b3cc44ed3a0cf49dec6f548b9ea945d
parent01c509f37d06a25aa4409ad2cd05cb67eee73f77
Bug 13114: Prevent Shibboleth Patches from spamming logs

- The shibboleth patch introduced an undefined message into the error
  logs, when shiboleth is disabled.

Testplan

1. Ensure shibboleth is disabled.
2. Refresh any opac page
3. See 'Use of uninitialized value $ENV{"REMOTE_USER"} in string ne at
/home/koha/kohaclone/C4/Auth.pm line 711.' popup in the opac-error.log
4. Apply patch
5. Refresh opac page
6. Error should no longer appear

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth.pm