removed depreacted wfMsg; added db->begin which fixed a database error message

version 1.792 20130526

Change-Id: I86849ed7b3e64032e6f78b0becc4a87cbface24f