Git commits in Moodle 2.2.0 by Michael Aherne

commit 50e3c7d8ef96f4c5acf79a3724122d288ff1a831
Author: Michael Aherne <michael.aherne@strath.ac.uk>
Date:   Tue, 17 May 2011 20:34:16 +0800
Tag:    v2.2.0-beta

MDL-27538 Added deprecation details to functions now in $DB