Git commits in Moodle 2.1.7 by Adrian Greeve

commit 7040ab6e30bd93fe3571867e28ce5dd0187ca334
Author: Adrian Greeve <adrian@moodle.com>
Date:   Thu, 14 Jun 2012 14:55:08 +0800
Tag:    v2.1.7

MDL-33603 - data - added another sql query to allow links to records to work.

commit d02908d323383498f3cc3ee7ef0181674ac88edc
Author: Adrian Greeve <adrian@moodle.com>
Date:   Fri, 18 May 2012 16:39:53 +0800
Tag:    v2.1.7

MDL-32126 replaced _order with sortorder to make sorting work in oracle

commit 1c8dbf72b96bccc591599686fc37bfcac835551f
Author: Adrian Greeve <adrian@moodle.com>
Date:   Tue, 15 May 2012 09:30:53 +0800
Tag:    v2.1.7

MDL-32991 - data - Fix to the context call in the preset page

commit ef518ff13729d16f8af7a353fd68dc333d3d1273
Author: Adrian Greeve <adrian@moodle.com>
Date:   Mon, 14 May 2012 11:47:20 +0800
Tag:    v2.1.7

MDL-32199 - forum - Ensure that  forum RSS feeds don't leak posts and discussions.

commit d4d88ffd73803a79241dd21608ea6cea1ac8dd41
Author: Adrian Greeve <adrian@moodle.com>
Date:   Tue, 08 May 2012 09:21:24 +0800
Tag:    v2.1.7

MDL-32126 - data - backport of advanced search re-write