Merge pull request #198 from jaredj/less-cleanup-and-return
Remove unnecessary calls to cleanup_and_return()
This commit is contained in:
commit
846c77ee94
@ -437,7 +437,7 @@ sub convert_db {
|
||||
}
|
||||
$self->db->unlock;
|
||||
$self->log(LOGINFO, "converted $converted of $count DB entries");
|
||||
return $self->cleanup_and_return(DECLINED);
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
sub prune_db {
|
||||
@ -456,7 +456,7 @@ sub prune_db {
|
||||
}
|
||||
$self->db->unlock;
|
||||
$self->log(LOGINFO, "pruned $pruned of $count DB entries");
|
||||
return $self->cleanup_and_return(DECLINED);
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
sub exclude {
|
||||
|
Loading…
Reference in New Issue
Block a user