MDL-39412 disabling manual graded behaviour refinements
commitcbdb09a9ef79bbfd798b8fb5f9b2f2f74fb13509
authorTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 8 May 2013 20:04:48 +0000 (8 21:04 +0100)
committerDamyon Wiese <damyon@moodle.com>
Thu, 9 May 2013 03:24:43 +0000 (9 11:24 +0800)
tree0ac1642cc54d471fcadf0a90e6c561380a6c21a3
parente9df9e8f7abbb70cb41b813557f80ec824dd5993
MDL-39412 disabling manual graded behaviour refinements

1. Change behaviour admin settings so you can only select enabled
behaviours.
2. During the upgrade, change admin settings that might be currently set
to manual graded, so that instead they are set to deferredfeedback (if
that is available. If not, we just take the first alphabetically.)
lib/adminlib.php
question/behaviour/manualgraded/db/upgrade.php
question/behaviour/manualgraded/version.php