Skip to main content
Sign in
Snippets Groups Projects
Commit b0e2ee56 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Code tidying

parent feacdcfb
No related branches found
No related tags found
No related merge requests found
File changed. Contains only whitespace changes. Show whitespace changes.
...@@ -22,10 +22,8 @@ ...@@ -22,10 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Upgrade code for the Stack question type. * Upgrade code for the Stack question type.
* @param int $oldversion the version we are upgrading from. * @param int $oldversion the version we are upgrading from.
...@@ -420,7 +418,6 @@ function xmldb_qtype_stack_upgrade($oldversion) { ...@@ -420,7 +418,6 @@ function xmldb_qtype_stack_upgrade($oldversion) {
} }
if ($oldversion < 2012061500) { if ($oldversion < 2012061500) {
// Define field questionnote to be dropped from qtype_stack // Define field questionnote to be dropped from qtype_stack
$table = new xmldb_table('qtype_stack'); $table = new xmldb_table('qtype_stack');
$field = new xmldb_field('markmode'); $field = new xmldb_field('markmode');
...@@ -435,7 +432,6 @@ function xmldb_qtype_stack_upgrade($oldversion) { ...@@ -435,7 +432,6 @@ function xmldb_qtype_stack_upgrade($oldversion) {
} }
if ($oldversion < 2012061501) { if ($oldversion < 2012061501) {
// Changing type of field truepenalty on table qtype_stack_prt_nodes to number // Changing type of field truepenalty on table qtype_stack_prt_nodes to number
$table = new xmldb_table('qtype_stack_prt_nodes'); $table = new xmldb_table('qtype_stack_prt_nodes');
$field = new xmldb_field('truepenalty', XMLDB_TYPE_NUMBER, '12, 7', null, null, null, null, 'truescore'); $field = new xmldb_field('truepenalty', XMLDB_TYPE_NUMBER, '12, 7', null, null, null, null, 'truescore');
... ...
......
File changed. Contains only whitespace changes. Show whitespace changes.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment