Getting errrors on $db->getDatabaseName method does not exist. Removed this because seems to be old code.
Merge pull request #122 from richmulhern/dbnamefix

Getting errrors on $db->getDatabaseName method does not exist