mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Modified Greg's work to:
- rename the main_frame variable to framename, because it - might have caused some confusion - none of the global variables have underscores - put the config in the config table, with a default of _top
This commit is contained in:
parent
2ea9027bc4
commit
f82c2d428a
12 changed files with 50 additions and 24 deletions
|
@ -88,6 +88,7 @@ function main_upgrade($oldversion=0) {
|
|||
}
|
||||
|
||||
if ($oldversion < 2002102503) {
|
||||
execute_sql(" ALTER TABLE `course` ADD `modinfo` TEXT NOT NULL AFTER `format` ");
|
||||
require_once("$CFG->dirroot/mod/forum/lib.php");
|
||||
require_once("$CFG->dirroot/course/lib.php");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue