sync_users() now working both under MSSQL and Oracle. Big credits to Jay Lee for his cool patch about MDL-7525 MDL-8023 MDL-8153
sync_users() now working both under MSSQL and Oracle. Big credits to
Jay Lee for his cool patch about MDL-7525 MDL-8023 MDL-8153

Merged from MOODLE_18_STABLE

dilawar/moodle