MDL-27829 blocks: altered the algorithm used to find plugin page types
This commit is contained in:
@@ -3720,7 +3720,7 @@ function assignment_get_file_areas($course, $cm, $context) {
|
||||
* @param stdClass $parentcontext Block's parent context
|
||||
* @param stdClass $currentcontext Current context of block
|
||||
*/
|
||||
function assignment_pagetypelist($pagetype, $parentcontext, $currentcontext) {
|
||||
function assignment_page_type_list($pagetype, $parentcontext, $currentcontext) {
|
||||
$module_pagetype = array(
|
||||
'mod-assignment-*'=>get_string('page-mod-assignment-x', 'assignment'),
|
||||
'mod-assignment-view'=>get_string('page-mod-assignment-view', 'assignment'),
|
||||
|
||||
Reference in New Issue
Block a user