Skip to content

Commit

Permalink
remove mod_perl limitation. Its not true.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmueller committed Dec 18, 2013
1 parent 4ba5c3d commit 974ab6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/CXGN/Tools/Run.pm
Expand Up @@ -187,7 +187,7 @@ sub run {
my ($class,@args) = @_;
my $self = bless {},$class;

$ENV{MOD_PERL} and croak "CXGN::Tools::Run->run() not functional under mod_perl";
#$ENV{MOD_PERL} and croak "CXGN::Tools::Run->run() not functional under mod_perl";

my $options = $self->_pop_options( \@args );
$self->_process_common_options( $options );
Expand All @@ -207,7 +207,7 @@ sub run {
#write die messages to a file for later retrieval by interested
#parties, chiefly the parent process if this is a cluster job
$self->_write_die( $@ );
croak $self->_format_error_message( $@ );
croak $self->_format_error_message( $@ );
}
}
$self->_end_time(time);
Expand Down Expand Up @@ -259,7 +259,7 @@ sub run_async {
my ($class,@args) = @_;
my $self = bless {},$class;

$ENV{MOD_PERL} and croak "CXGN::Tools::Run->run_async() not functional under mod_perl";
#$ENV{MOD_PERL} and croak "CXGN::Tools::Run->run_async() not functional under mod_perl";

my $options = $self->_pop_options( \@args );
$self->_process_common_options( $options );
Expand Down

0 comments on commit 974ab6d

Please sign in to comment.