Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7d73180
)
NOBUG: Added missing global call in mod wiki upgrade
author
Sam Hemelryk
<sam@moodle.com>
Sun, 3 Oct 2010 05:55:16 +0000
(
05:55
+0000)
committer
Sam Hemelryk
<sam@moodle.com>
Sun, 3 Oct 2010 05:55:16 +0000
(
05:55
+0000)
mod/wiki/db/upgradelib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/wiki/db/upgradelib.php
b/mod/wiki/db/upgradelib.php
index
6418874
..
625254a
100644
(file)
--- a/
mod/wiki/db/upgradelib.php
+++ b/
mod/wiki/db/upgradelib.php
@@
-201,7
+201,7
@@
function wiki_upgrade_install_20_tables() {
* Migrating wiki pages history
*/
function wiki_upgrade_migrate_versions() {
- global $DB, $CFG;
+ global $DB, $CFG
, $OUTPUT
;
upgrade_set_timeout();
require_once($CFG->dirroot . '/mod/wiki/db/migration/lib.php');
$sql = "SELECT po.id as oldpage_id, po.pagename as oldpage_pagename, po.version, po.flags, po.content, po.author, po.userid as oldpage_userid, po.created, po.lastmodified, po.refs, po.meta, po.hits, po.wiki,