Git commits in Moodle 1.8.5 by poltawski

commit b2fb1d4096bbd9491d50aa1da36e7f4280ed08e4
Author: poltawski <poltawski>
Date:   Mon, 25 Feb 2008 20:59:10 +0900
Tag:    v1.8.5

MDL-9667 - convert_tree_to_html doesn't set css class properly if $tab->linkedwhenselected is set

commit c095ae436480ee56f357efabc670adb7c72d7000
Author: poltawski <poltawski>
Date:   Fri, 08 Feb 2008 18:59:18 +0900
Tag:    v1.8.5

MDL-13354 - wrong capability checked for view report link

commit 244cb43dffa51e4b52947def58a37db527634e9d
Author: poltawski <poltawski>
Date:   Fri, 08 Feb 2008 03:50:01 +0900
Tag:    v1.8.5

MDL-13339 - ensure we don't continue the restore process if there is no course header in the backup file. This bug was causing blank course records to be created when users tried to restore a non-moodle backup file such as a scorm file. backported from MOODLE_19_STABLE

commit 18776806106f2c42c37b491a26c53ed0f1a879f0
Author: poltawski <poltawski>
Date:   Wed, 06 Feb 2008 23:49:57 +0900
Tag:    v1.8.5

MDL-13314 count_role_users was showing different count to those returned from get_role_users(), based on patch from Patrick Pollett backported from MOODLE_19_STABLE

commit 970166d4acf60611414e89ec270ed5d43bb0cc21
Author: poltawski <poltawski>
Date:   Thu, 31 Jan 2008 05:44:08 +0900
Tag:    v1.8.5

MDL-13221 - doing wrong capability check for hidden activites. But we don't need it at all as require_login() with the $cm argument does the check for us backported from MOODLE_19_STABLE

commit 2328428fe129c3f0a0987b2b879a4bcb023a83d1
Author: poltawski <poltawski>
Date:   Sat, 26 Jan 2008 06:10:44 +0900
Tag:    v1.8.5

MDL-13068 - fix typo causing course delete to fail backported from MOODLE_19_STABLE

commit 98928f94e9ced308cd0e6f617d3b9fc35e91270d
Author: poltawski <poltawski>
Date:   Tue, 22 Jan 2008 01:46:36 +0900
Tag:    v1.8.5

MDL-9605 - fixed missing string which wasn't merged to 1.8

commit f1cac46f00d9a680f47ffe8be60ad94c9349f458
Author: poltawski <poltawski>
Date:   Thu, 17 Jan 2008 23:56:13 +0900
Tag:    v1.8.5

MDL-13039 - fix missing strings

commit 904eea079b28d04e45320f684155a13a0e0561b1
Author: poltawski <poltawski>
Date:   Thu, 17 Jan 2008 00:10:20 +0900
Tag:    v1.8.5

MDL-13003 - dont initalise array keys twice..

commit 74ec307700a2c12739f8bb509f7f1820355a93c5
Author: poltawski <poltawski>
Date:   Mon, 14 Jan 2008 03:55:47 +0900
Tag:    v1.8.5

reverting bad commit, sorry

commit f4687e66e74e7b2abd48c3904a33cace13925b09
Author: poltawski <poltawski>
Date:   Mon, 14 Jan 2008 03:47:51 +0900
Tag:    v1.8.5

MDL-8269 - stats wasn't paying attention to run time settings as the strtotime arguments were the wrong way round. Thanks to Mark Nielsen backported from MOODLE_19_STABLE