Previous conditional will always cover this case. If true, then

$self is returned.  If false, then previous conditional is ignored,
and this line is also ignored.
Removing dead code.
This commit is contained in:
Colin Kuskie 2007-11-26 05:26:18 +00:00
parent 8b84ae3e76
commit 6b9272984c

View file

@ -184,7 +184,6 @@ sub new {
$self->session->{_sessionId} = $self->{_var}{sessionId};
return $self;
}
return $self if $noFuss && $self->{_var}{sessionId};
if ($self->{_var}{expires} && $self->{_var}{expires} < $session->datetime->time()) { ##Session expired, start a new one with the same Id
$self->end;
$self->start(1,$sessionId);