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>
This commit is contained in:
Galen Charlton 2009-01-09 12:16:43 -06:00 committed by Henri-Damien LAURENT
parent 4e51d9b8fb
commit bc0dec3dc4
1 changed files with 0 additions and 1 deletions

View File

@ -16,7 +16,6 @@ package C4::Context;
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
use warnings;
use strict;
use warnings;
use vars qw($VERSION $AUTOLOAD $context @context_stack);