fixes a bug in the menu item check publication status
restores right database.php
Merge branch 'master' of https://github.com/code-berlin/raa