Removed unnecessary function

Removed function related to php database functionality. Database is no longer being used.