Git commits in Moodle 1.6.0 by sam_marshall

commit bb2848749a6bf7b46840e274fbb65b58959a9d09
Author: sam_marshall <sam_marshall>
Date:   Mon, 10 Apr 2006 19:49:48 +0800
Tag:    v1.6.0

Changing to use require_param meant that restore session was not cleared, causing a 2nd restore in succession of same backup to fail. One-line tweak fixes it - I think (I think it's ok but filed as bug 5145 so the appropriate person can check if I messed up)

commit 96463e677e0f7fbfba9244ed84e9b979e16a466b
Author: sam_marshall <sam_marshall>
Date:   Mon, 10 Apr 2006 17:55:31 +0800
Tag:    v1.6.0

Another Postgres install fix (this time it was using mdl_ instead of prefix_)

commit 3a2c772f4eae0a1d9f731a434013eb46039e1f65
Author: sam_marshall <sam_marshall>
Date:   Mon, 10 Apr 2006 17:48:47 +0800
Tag:    v1.6.0

Fixed syntax error (extra comma) in Postgres version of quiz sql

commit f95310d2242f0d95a496f0c2aa67c48c609cafb5
Author: sam_marshall <sam_marshall>
Date:   Tue, 14 Mar 2006 00:32:22 +0800
Tag:    v1.6.0

Corrected line  that would cause restore_create_modules to return True if the first module fails to restore, but the second succeeds. (Whereas it would already be False if the first succeeds, but second fails.)

commit c0381e22da2cf2ecf8b17ffc55462a68cf84c6aa
Author: sam_marshall <sam_marshall>
Date:   Thu, 09 Mar 2006 21:14:33 +0800
Tag:    v1.6.0

Added way to get a textual description of a file (e.g. 'Word document') based on its MIME type.

commit 3ce73b147f1f52f3b39a844e62393536c3812d80
Author: sam_marshall <sam_marshall>
Date:   Thu, 09 Mar 2006 20:07:11 +0800
Tag:    v1.6.0

filelib - Added support for looking up icons via MIME type as well as via extension