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)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 9 Jan 2009 18:17:49 +0000 (12:17 -0600)
commite7aff14ba2e3c3cc9b745516f0d967a3189341c5
tree47d4fc193d9e845efac930860171113edc7923e8
parent5ce47ac580c41d7f1c38a52f1523b0cc0ae6032c
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>
C4/Context.pm