Git commits in Moodle 2.1.1 by Iñaki Arenaza

commit 7679e8d25609bf7264efd48249a31ec8fa9a1998
Author: Iñaki Arenaza <iarenaza@mondragon.edu>
Date:   Tue, 05 Jul 2011 03:38:53 +0800
Tag:    v2.1.1

MDL-24666 sync_users.php can throw db exception on sites upgraded from 1.x