Git commits in Moodle 2.2.5 by Aaron Barnes

commit 4ed5856a0867f7a179c267d4398dbd0c98c7d173
Author: Aaron Barnes <aaron.barnes@hbcosmo.com>
Date:   Tue, 10 Jul 2012 17:05:41 +0800
Tag:    v2.2.5

MDL-34243 completion: get_criteria() incorrectly passing object