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:
parent
749f68a0ee
commit
6e49327bb6
2 changed files with 5 additions and 5 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue