replaced return; with return undef;
This commit is contained in:
parent
ffa90c5fbd
commit
fa09c41598
113 changed files with 287 additions and 286 deletions
|
|
@ -248,7 +248,7 @@ sub db {
|
|||
} else {
|
||||
$self->session->errorHandler->warn("DatabaseLink [".$self->getId."] The DSN specified is of an improper format.");
|
||||
}
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -344,7 +344,7 @@ sub new {
|
|||
unless (defined($databaseLink{databaseLinkId}))
|
||||
{
|
||||
$session->errorHandler->warn("Could not find database link '".$databaseLinkId."'");
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
|
||||
bless {_session=>$session, _databaseLink => \%databaseLink }, $class;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue