Add POD comments to deleteFile to show what the accidental return value is.

Remove a Data::Dumper from Operation/Invite.pm
This commit is contained in:
Colin Kuskie 2007-07-05 21:22:54 +00:00
parent 749f68a0ee
commit 6e49327bb6
2 changed files with 5 additions and 5 deletions

View file

@ -457,14 +457,15 @@ Deletes a file from it's storage location.
=head3 filename
The name of the file to delete.
The name of the file to delete. Returns a 1 if the file was successfully deleted, or 0 if
it doesn't.
=cut
sub deleteFile {
my $self = shift;
my $filename = shift;
unlink($self->getPath($filename));
my $self = shift;
my $filename = shift;
unlink($self->getPath($filename));
}