[REVIEW] Fixed dbpatch by using janus database parameters

Fixes usage of janus db config which is no longer in a php file
Good point, missed that, fixed it by remove duplicate white line and by addings some comments