bug 2505: more warnings fixes in C4/Context.pm
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 9 Jan 2009 18:16:43 +0000 (12:16 -0600)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:18:46 +0000 (23:18 +0200)
commitbc0dec3dc4d0ac6e56e5b23ebbf75d3c5cb0bc89
tree664d84261216debd3fc88ecf998b5e9b0dd61d01
parent4e51d9b8fbd75a11a82addd406e7739c43ff61d7
bug 2505: more warnings fixes in C4/Context.pm

* more portable way to determine uname for
  crash messages
* C4::Context->userenv now returns undef instead
  of 0 if no userenv has been set yet; returning
  undef when necessary is almost always better
  than returning a scalar when a hashref is
  normally expected.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Context.pm