[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5231] branches/1.3/LedgerSMB.pm
- Subject: SF.net SVN: ledger-smb:[5231] branches/1.3/LedgerSMB.pm
- From: ..hidden..
- Date: Wed, 21 Nov 2012 15:26:43 +0000
Revision: 5231
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5231&view=rev
Author: einhverfr
Date: 2012-11-21 15:26:42 +0000 (Wed, 21 Nov 2012)
Log Message:
-----------
More exit statements removed
Modified Paths:
--------------
branches/1.3/LedgerSMB.pm
Modified: branches/1.3/LedgerSMB.pm
===================================================================
--- branches/1.3/LedgerSMB.pm 2012-11-21 15:22:30 UTC (rev 5230)
+++ branches/1.3/LedgerSMB.pm 2012-11-21 15:26:42 UTC (rev 5231)
@@ -367,7 +367,7 @@
if (!LedgerSMB::Auth::session_check( $cookie{${LedgerSMB::Sysconfig::cookie_name}}, $self) ) {
$logger->error("Session did not check");
$self->_get_password("Session Expired");
- exit;
+ die;
}
$logger->debug("session_check completed OK \$self->{session_id}=$self->{session_id} caller=\$filename=$filename \$line=$line");
}
@@ -442,7 +442,7 @@
my ($self) = shift @_;
$self->{sessionexpired} = shift @_;
LedgerSMB::Auth::credential_prompt();
- exit;
+ die;
}
sub debug {
@@ -556,7 +556,7 @@
if ( $self->{callback} || !$msg ) {
main::redirect();
- exit;
+ die;
}
else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.