Git commits in Moodle 2.1.1 by Kordan

commit 3c9cd1400619f33aabdcd84e8a9ed16e0863c874
Author: Kordan <kordan@mclink.it>
Date:   Tue, 05 Jul 2011 17:30:50 +0800
Tag:    v2.1.1

addition to previous fix for MDL-27989 in MOODLE_21_STABLE

commit cc3e8c536c4621f8d8d26e8157022df417226cac
Author: Kordan <kordan@mclink.it>
Date:   Tue, 05 Jul 2011 16:21:13 +0800
Tag:    v2.1.1

MDL-27989 fix for MOODLE_21_STABLE