replaced return; with return undef;

This commit is contained in:
JT Smith 2008-01-24 21:58:15 +00:00
parent ffa90c5fbd
commit fa09c41598
113 changed files with 287 additions and 286 deletions

View file

@ -230,7 +230,7 @@ sub getFileUrl {
#-------------------------------------------------------------------
sub getFileIconUrl {
my $self = shift;
return unless $self->get("filename"); ## Why do I have to do this when creating new Files?
return undef unless $self->get("filename"); ## Why do I have to do this when creating new Files?
return $self->getStorageLocation->getFileIconUrl($self->get("filename"));
}
@ -337,7 +337,7 @@ sub processPropertiesFromFormPost {
$storage->delete;
}
return;
return undef;
}
@ -483,7 +483,7 @@ sub updatePropertiesFromStorage {
$self->update({
filename => $filename,
});
return;
return undef;
}
#-------------------------------------------------------------------