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:
5316007
)
MDL-32727 - quiz: fix incorrect variable name in upgrade
author
Dan Poltawski
<dan@moodle.com>
Fri, 18 May 2012 07:08:07 +0000
(15:08 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Fri, 18 May 2012 07:08:07 +0000
(15:08 +0800)
mod/quiz/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/quiz/db/upgrade.php
b/mod/quiz/db/upgrade.php
index
2861328
..
d3a8e72
100644
(file)
--- a/
mod/quiz/db/upgrade.php
+++ b/
mod/quiz/db/upgrade.php
@@
-113,7
+113,7
@@
function xmldb_quiz_upgrade($oldversion) {
// Get a list of response variables that have files.
require_once($CFG->dirroot . '/question/type/questiontypebase.php');
$variables = array();
- foreach (get_plugin_list('qtype') as $
plugin
=> $path) {
+ foreach (get_plugin_list('qtype') as $
qtypename
=> $path) {
$file = $path . '/questiontype.php';
if (!is_readable($file)) {
continue;