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

In my previous fix I thought maybe the Oracle adapter just didn't have this getDatabaseName method but I can't find it in any adapter. It also looks like this initialized method isn't used after this. So I thought this may be old code that could be removed.

If there is a reason for it let me know, I can add a getDatabaseName method to the Oracle adapter.