fix #527: unable to delete project when use_forum = no in config.ini