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
(parent:
da89707
)
db-upgrade MDL-24487 Fixed incorrect parentcontext when upgrading.
author
Sam Hemelryk
<sam@moodle.com>
Sun, 3 Oct 2010 07:45:03 +0000
(07:45 +0000)
committer
Sam Hemelryk
<sam@moodle.com>
Sun, 3 Oct 2010 07:45:03 +0000
(07:45 +0000)
lib/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/upgrade.php
b/lib/db/upgrade.php
index
bf9d9d7
..
9f74fb5
100644
(file)
--- a/
lib/db/upgrade.php
+++ b/
lib/db/upgrade.php
@@
-3616,7
+3616,7
@@
WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
// No default exist there yet, let's put a few into My Moodle so it's useful.
$blockinstance = new stdClass;
- $blockinstance->parentcontextid = S
ITE
ID;
+ $blockinstance->parentcontextid = S
YSCONTEXT
ID;
$blockinstance->showinsubcontexts = 0;
$blockinstance->pagetypepattern = 'my-index';
$blockinstance->subpagepattern = $mypage->id;