MDL-49418 core: partial revert of MDL-48804
commit51fef1de359439c79fa98bd9ebec19077e66cb57
authorMarina Glancy <marina@moodle.com>
Mon, 9 Mar 2015 03:26:18 +0000 (9 11:26 +0800)
committerMarina Glancy <marina@moodle.com>
Mon, 9 Mar 2015 03:26:50 +0000 (9 11:26 +0800)
tree62b861b3824a0cc634e26f21b689ffeaf8609c32
parentb90f98dadee06535fce23cb865690f4f9da15271
MDL-49418 core: partial revert of MDL-48804

this is a quick fix for the issue 'Course module with two or more availability restrictions is not accessible'
MDL-49434 is created to deal with the renderer access inside availability check
lib/moodlelib.php