Default an empty Storage to doing Deletes
This commit is contained in:
parent
f620781f7e
commit
bfe82e297a
|
@ -113,6 +113,15 @@ sub Name {
|
|||
return $_[0]{Name};
|
||||
} # end sub Path
|
||||
|
||||
sub DoDelete {
|
||||
$self = shift;
|
||||
$$self{DoDelete} = shift if @_;
|
||||
if ( ! defined $$self{DoDelete} ) {
|
||||
$$self{DoDelete} = 1;
|
||||
}
|
||||
return $$self{DoDelete};
|
||||
}
|
||||
|
||||
sub Server {
|
||||
my $self = shift;
|
||||
if ( ! $$self{Server} ) {
|
||||
|
|
Loading…
Reference in New Issue