Git commits in Moodle 2.2.2 by Petr Skoda

commit 0908a1a327b67ee6b3a3e4fb303b24cbb4a61128
Author: Petr Skoda <commits@skodak.org>
Date:   Wed, 29 Feb 2012 14:58:11 +0800
Tag:    v2.2.2

MDL-31807 fix invalid nulls in cohort components

commit 9e8fe8469b96c59253dab79be0608afae9f81e13
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 28 Feb 2012 21:48:15 +0800
Tag:    v2.2.2

MDL-31785 fix and improve htmlpurifier tests

commit 54ef6f4b012234dee87033f27e1a4550e399bd81
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 28 Feb 2012 21:26:19 +0800
Tag:    v2.2.2

MDL-31785 import HTMLPurifier 4.4.0+

commit bfcb69ef701713ca01bb7080fff71017e64c7a17
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 27 Feb 2012 19:30:11 +0800
Tag:    v2.2.2

MDL-31689 fix moodle_database:execute() description

commit 3b1e1d8964b8f138c77e38a5cd1f1a3bc07faee8
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 21:54:43 +0800
Tag:    v2.2.2

MDL-31081 limit query to one course in forum_get_subscribed_forums()

commit 58ac441caeaebd0b1dfd857f6dd4761b519ddc0b
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 03:19:34 +0800
Tag:    v2.2.2

MDL-31172 fix variable name typo in backup file logger

commit ddb621b78d2a22d37258bca956a77423964679d6
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 03:14:58 +0800
Tag:    v2.2.2

MDL-31173 fix variable name typo when throwing invalid $rule param exception in restore decode processor

commit ec6c7d98f932e89f6c7cc6f77413f1d27cc8c6ce
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 02:57:01 +0800
Tag:    v2.2.2

MDL-31176 add missing global $DB when looking for group related context in calendar

commit 918bcdcfabd8ea5fd50c8fdfda097c7c3b790708
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 02:51:28 +0800
Tag:    v2.2.2

MDL-31177 fix notices when exporting logs to ods

commit d0eb3fcf8814fc4380f48d46e7dde909bc4e09e0
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 00:58:47 +0800
Tag:    v2.2.2

MDL-31178 fix broken core_enrol_external::get_enrolled_users()

commit 196eedebb1373e08213cf20c2bb4488bf55cdf97
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 00:13:39 +0800
Tag:    v2.2.2

MDL-31180 fix coding error in fake_recordset iterator

commit ea5214d534387266df35f5fc5a0cd045c53f549d
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 22 Jan 2012 00:07:59 +0800
Tag:    v2.2.2

MDL-31181 fix missing global $CFG that was breaking unit test teardown

commit c73dbf667d831ca0f54a9e410a3074d627015442
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 23:59:16 +0800
Tag:    v2.2.2

MDL-31182 fix fatal error when problem detected in finding messaging defaults

commit 3397a096ba5fe3f459e9f267082d81b209199432
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 23:47:03 +0800
Tag:    v2.2.2

MDL-31183 fix non-functional glossary_count_unrated_entries()

commit 47649d43283dee1c8fa7780343e0ed4a967e6ac2
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 23:31:04 +0800
Tag:    v2.2.2

MDL-31184 fix multiple problems when reseting individual glossary types

commit 3370262baecaa3db8060c3d9b7ae68117f200564
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 23:17:06 +0800
Tag:    v2.2.2

MDL-31185 fix missing CFG in forum_get_posts_by_user()

commit 06f7eb2a362e47618af26a8ef888b8ea43100171
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 23:08:25 +0800
Tag:    v2.2.2

MDL-31186 fix wrong context preloading sql

commit 5125c0e332c3090126df6804bdf56f606f272ecb
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 22:21:08 +0800
Tag:    v2.2.2

MDL-31202 do not try sending emails to invalid addresses

commit 13a1eb3c10f5e4acd0f3d926279be45b7a54d298
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 18:55:32 +0800
Tag:    v2.2.2

MDL-30509 backport perf improvement in role cleanup in cohort sync

commit caa4912f7010e838113fbd0a08051edaa1565fa0
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 18:36:10 +0800
Tag:    v2.2.2

MDL-31208 fix obsolete get_record_sql() parameter

commit 68d4c5bc1fcd4939edf7e46487635ca46028acfd
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 18:15:30 +0800
Tag:    v2.2.2

MDL-31238 remove now unnecessary null to stdClass conversion for plugin settings

commit 057d39bbc1aaaad39f64192cda2cc6dee4b159be
Author: Petr Skoda <commits@skodak.org>
Date:   Sat, 21 Jan 2012 17:56:04 +0800
Tag:    v2.2.2

MDL-31238 always return object for plugin settings from get_config()

commit fc0a71999e31097fceea57f12d09e66de783a3c1
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 17 Jan 2012 18:17:35 +0800
Tag:    v2.2.2

MDL-31213 fix incorrect modifications of quickforms attributes

commit a1317d1b9981de9b943576999c42ae0dfca7acbe
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 16 Jan 2012 04:49:30 +0800
Tag:    v2.2.2

MDL-31006 some more PHP54 notices

commit cee1176862f14a4cfd05a41bf50cdcaf8fd1bd42
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 16 Jan 2012 02:26:43 +0800
Tag:    v2.2.2

MDL-29102 fix notice when auto-creating groups in existing grouping

commit 5274209ac1427a88a992a9d7431697e47d20fdee
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 16 Jan 2012 02:11:16 +0800
Tag:    v2.2.2

MDL-31171 fix blog attachment serving in BLOG_USER_LEVEL

commit 12f2dc577d7208f7adbab96c8911e3a927c670e1
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 16 Jan 2012 02:02:08 +0800
Tag:    v2.2.2

MDL-31011 fix report links in logs

commit 7e6f69b9af2f2bedd4f6bdb8ff684a4048ac98f0
Author: Petr Skoda <commits@skodak.org>
Date:   Mon, 16 Jan 2012 00:12:35 +0800
Tag:    v2.2.2

MDL-31035 fix showuseridentity notice before settings upgrade

commit 7991c4c0004c9e9a0e97565e58b7b44a21432bda
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 22:51:55 +0800
Tag:    v2.2.2

MDL-21992 fix custom scripts on https pages and CLI

commit 7fdb5afc0822a3c28255d46c7efac2367c4c1982
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 22:34:56 +0800
Tag:    v2.2.2

MDL-31161 fix notice when checking plugin requirements

commit a2c56428720ec93814892daffc104a2117308975
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 22:24:34 +0800
Tag:    v2.2.2

MDL-30958 do not use Yahoo CDN on https sites

commit fde76de588bc34071072368a23ec3d3ad1d23568
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 20:40:12 +0800
Tag:    v2.2.2

MDL-31170 fix automatic blog blocks hiding/unhiding after blog level change

commit 88e2bbae6d9df3ef39d546a0e722b36058a0999d
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 20:37:53 +0800
Tag:    v2.2.2

MDL-31006 fix various notices in PHP54

commit 45d88e56cbc0ef02c5fbc35a05cdcda8bdc19150
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 18:05:00 +0800
Tag:    v2.2.2

MDL-31166 do not try to cleanup data root paths in CLI install script

commit 04c0a7d20568aa3b8c102d1c2d7c66e9e4470396
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 07:56:01 +0800
Tag:    v2.2.2

MDL-31109 fix maintenance link value in get_string()

commit f543eea9d6b598d304cdc6d61929d24cffc91e12
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 07:43:28 +0800
Tag:    v2.2.2

MDL-31117 delete obsolete TODO

commit a5a993abc28d38d035fe6e042d230fd6f407a84a
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 07:14:44 +0800
Tag:    v2.2.2

MDL-31127 init USER->access when switching roles

commit 22d6b3da4fcf4826e196c3398260e0ca5d67e026
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 05:52:46 +0800
Tag:    v2.2.2

MDL-31165 fix InnoDB conversion query to use ENGINE parameter instead of legacy TYPE

commit 38d341b0d7fddc320a27445465e8d156f559b981
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 05:14:26 +0800
Tag:    v2.2.2

MDL-27165 fix broken confirmed user filtering

commit 1c83b133431e9d8a21d6d5e8d5ff6640ff105144
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 04:57:01 +0800
Tag:    v2.2.2

MDL-30891 fix invalid hardcoded capability check when disable legacy files repo

commit 182f5cc6f61f43e665db9ef1803e8d477b460c99
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 04:36:02 +0800
Tag:    v2.2.2

MDL-31053 fix invalid context preloading in get_user_capability_course()

commit 76917f764fd0d985b0215e8ed62a2f339ec41693
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 15 Jan 2012 03:55:02 +0800
Tag:    v2.2.2

MDL-31142 fix textlib::substr() performance, invalid length in iconv_substr; use mbstring by default

commit 05042a7ed8edb7846ea1aa521e3fb982ddfd0d99
Author: Petr Skoda <commits@skodak.org>
Date:   Sun, 08 Jan 2012 22:39:03 +0800
Tag:    v2.2.2

MDL-31005 fix strict coding style warning in context_helper

commit 77536bd387aff90324d0a68fdb93ea1ede4409b2
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 03 Jan 2012 23:40:09 +0800
Tag:    v2.2.2

MDL-30969 add support for suspending in uploaduser admin tool

commit 0007843de047eb0533220d5d5732f6c62bc0c8cc
Author: Petr Skoda <commits@skodak.org>
Date:   Thu, 29 Dec 2011 00:21:59 +0800
Tag:    v2.2.2

MDL-29684 improve enrol_meta plugin

commit dfff77eedd71e8d8394a0c767b4ce19dcf4f71fa
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 27 Dec 2011 23:10:14 +0800
Tag:    v2.2.2

MDL-30928 include course and user deletion time in event

commit 2824832a18f64d41594640b6b2ddd5ad74426482
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 27 Dec 2011 22:54:01 +0800
Tag:    v2.2.2

MDL-30717 update user->timemodified  in update_user_record()

commit 6ac158e9e350560e269040da5726b64fb5881dc7
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 27 Dec 2011 22:49:47 +0800
Tag:    v2.2.2

MDL-30718 add missing timecraeted and timeupdated, fix user undeleting

commit 17330e8aaed2b659464a39be7359fbf4965ed212
Author: Petr Skoda <commits@skodak.org>
Date:   Tue, 27 Dec 2011 22:34:32 +0800
Tag:    v2.2.2

MDL-30717 add missing time created info in create_user_record()