mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
|
@ -11,7 +11,6 @@
|
|||
}
|
||||
|
||||
admin_externalpage_setup('mnetenrol');
|
||||
$PAGE->set_pagetype('admin-mnet');
|
||||
|
||||
require_once("$CFG->dirroot/enrol/enrol.class.php"); /// Open the factory class
|
||||
$enrolment = enrolment_factory::factory('mnet');
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
|
||||
admin_externalpage_setup('mnetenrol');
|
||||
$PAGE->set_pagetype('admin-mnet');
|
||||
|
||||
require_once("$CFG->dirroot/enrol/enrol.class.php"); /// Open the factory class
|
||||
$enrolment = enrolment_factory::factory('mnet');
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
require_once($CFG->libdir.'/adminlib.php');
|
||||
|
||||
admin_externalpage_setup('mnetenrol');
|
||||
$PAGE->set_pagetype('admin-mnet');
|
||||
|
||||
require_once("$CFG->dirroot/enrol/enrol.class.php"); /// Open the factory class
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue