mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
moodle_page: MDL-12212 eliminate the two different interpretations of
pagetype
This commit is contained in:
parent
d529807a65
commit
e88462a055
9 changed files with 39 additions and 11 deletions
|
@ -317,7 +317,7 @@ function page_create_object($type, $id = NULL) {
|
|||
|
||||
$object->init_quick($data);
|
||||
$object->set_course($PAGE->course);
|
||||
$object->set_pagetype($type);
|
||||
//$object->set_pagetype($type);
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue