MAINT: Refactor assignment of $database and $quiet

Removes unneeded if statement to make boolean assignment.
Merge pull request #2 from llllllllll/patch-1

MAINT: Refactor assignment of $database and $quiet