Git commits in Moodle 1.6.6 by tjhunt

commit f238441d450875364f5fa8ced4b3f7c80e1976b6
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 03:22:25 +0900
Tag:    v1.6.6

MDL-9375 (and dups) - Each attempt builds on last with multi-page quizzes gives the wrong score on the second attempt. It turns out that this was already fixed in Moodle 1.9 (part of commit 1.115 -> 1.116) so I have just backported the relevant changes. I have tested that this fixes the reported problem. I have not had time to test that it does not break one of the other billion possible combinations of settings possible with the quiz. Code review and testing welcome.

commit 12e5b3c2b1b9ab44093597f81e9dfb1ed2a1fb61
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:25:13 +0900
Tag:    v1.6.6

MDL-11416 - Support for nonsortable columns in table lib. Backported from MOODLE_19_STABLE so that the fix for MDL-5262 works.

commit b7515bca1468b79b25866f91010ad20956dfae9b
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:33 +0800
Tag:    v1.6.6

MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Backported from MOODLE_19_STABLE.

commit 8a3df96e52d6ad052a3be89584fd0c39bb5d35b8
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 01:28:31 +0800
Tag:    v1.6.6

MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me.

commit dad09658025fbc4e3e7a9afdc8586c01cdc1e570
Author: tjhunt <tjhunt>
Date:   Wed, 25 Apr 2007 05:15:37 +0800
Tag:    v1.6.6

Fix comedy require_once.

commit 10e20746842e2d1d7e31b2a9baf962314f1679f6
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:16:43 +0800
Tag:    v1.6.6

Fix error message to say the right thing.

commit e7a84ec034fa2db4c424c6b0f48a0d9cca62f521
Author: tjhunt <tjhunt>
Date:   Sat, 31 Mar 2007 00:05:14 +0800
Tag:    v1.6.6

MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last: