POD and code fix for Storage object delete method
This commit is contained in:
parent
c6342a6225
commit
ebdcd47f8d
2 changed files with 3 additions and 6 deletions
|
|
@ -369,7 +369,7 @@ sub createTemp {
|
|||
|
||||
=head2 delete ( )
|
||||
|
||||
Deletes this storage location and its contents (if any) from the filesystem and destroy's the object.
|
||||
Deletes this storage location and its contents (if any) from the filesystem.
|
||||
|
||||
=cut
|
||||
|
||||
|
|
@ -377,7 +377,7 @@ sub delete {
|
|||
my $self = shift;
|
||||
my $path = $self->getPath;
|
||||
rmtree($path) if ($path);
|
||||
undef $self;
|
||||
return;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue