MDL-27829 blocks: altered the algorithm used to find plugin page types
This commit is contained in:
+1
-1
@@ -284,6 +284,6 @@ function note_delete_all($courseid) {
|
||||
* @param stdClass $parentcontext Block's parent context
|
||||
* @param stdClass $currentcontext Current context of block
|
||||
*/
|
||||
function note_pagetypelist($pagetype, $parentcontext, $currentcontext) {
|
||||
function note_page_type_list($pagetype, $parentcontext, $currentcontext) {
|
||||
return array('notes-*'=>get_string('page-notes-x', 'notes'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user