Skip to content
Permalink
Browse files

Merge branch 'MDL-38557_24' of git://github.com/timhunt/moodle into M…

…OODLE_24_STABLE
  • Loading branch information...
stronk7 committed Mar 26, 2013
2 parents 673ff9d + 519c20a commit 821c60617e210f474f528978baa99f65f9f80fb9
Showing with 9 additions and 1 deletion.
  1. +1 −0 mod/quiz/db/install.php
  2. +7 −0 mod/quiz/db/upgrade.php
  3. +1 −1 mod/quiz/version.php
@@ -46,5 +46,6 @@ function xmldb_quiz_install() {
$record = new stdClass();
$record->name = 'grading';
$record->displayorder = '6000';
$record->capability = 'mod/quiz:grade';
$DB->insert_record('quiz_reports', $record);
}
@@ -395,6 +395,13 @@ function xmldb_quiz_upgrade($oldversion) {
// Moodle v2.4.0 release upgrade line
// Put any upgrade step following this
if ($oldversion < 2012112901) {
// Quiz manual grading UI should be controlled by mod/quiz:grade, not :viewreports.
$DB->set_field('quiz_reports', 'capability', 'mod/quiz:grade', array('name' => 'grading'));
// Mod quiz savepoint reached.
upgrade_mod_savepoint(true, 2012112901, 'quiz');
}
return true;
}
@@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();
$module->version = 2012112900; // The current module version (Date: YYYYMMDDXX).
$module->version = 2012112901; // The current module version (Date: YYYYMMDDXX).
$module->requires = 2012112900; // Requires this Moodle version.
$module->component = 'mod_quiz'; // Full name of the plugin (used for diagnostics).
$module->cron = 60;

0 comments on commit 821c606

Please sign in to comment.
You can’t perform that action at this time.