MDL-15372 fixed incorrect merging to HEAD causing fatal errors, because new dml api was not used
MDL-15372 fixed incorrect merging to HEAD causing fatal errors, because new dml api was not used

dilawar/moodle