Merge pull request #198 from jaredj/less-cleanup-and-return

Remove unnecessary calls to cleanup_and_return()
This commit is contained in:
Matt Simerson 2015-01-21 15:45:32 -08:00
commit 846c77ee94

View File

@ -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 {