MDL-44118 drop old quiz/question attempt data.

This data should all have been upgraded when moving to Moodle 2.1. It
was only kept as a back-up, and now, after 3 years have past, we can
clean it up.
This commit is contained in:
Tim Hunt 2014-02-13 14:24:20 +00:00
parent 4e8a07d28b
commit 30de48d285
19 changed files with 45 additions and 98 deletions

View File

@ -1426,48 +1426,6 @@
<INDEX NAME="attemptstepid-name" UNIQUE="true" FIELDS="attemptstepid, name"/>
</INDEXES>
</TABLE>
<TABLE NAME="question_states" COMMENT="Stores user responses to an attempt, and percentage grades">
<FIELDS>
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
<FIELD NAME="attempt" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="question" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="seq_number" TYPE="int" LENGTH="6" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="answer" TYPE="text" NOTNULL="true" SEQUENCE="false"/>
<FIELD NAME="timestamp" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="event" TYPE="int" LENGTH="4" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="grade" TYPE="number" LENGTH="12" NOTNULL="true" DEFAULT="0" SEQUENCE="false" DECIMALS="7"/>
<FIELD NAME="raw_grade" TYPE="number" LENGTH="12" NOTNULL="true" DEFAULT="0" SEQUENCE="false" DECIMALS="7"/>
<FIELD NAME="penalty" TYPE="number" LENGTH="12" NOTNULL="true" DEFAULT="0" SEQUENCE="false" DECIMALS="7"/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="attempt" TYPE="foreign" FIELDS="attempt" REFTABLE="question_attempts" REFFIELDS="id"/>
<KEY NAME="question" TYPE="foreign" FIELDS="question" REFTABLE="question" REFFIELDS="id"/>
</KEYS>
</TABLE>
<TABLE NAME="question_sessions" COMMENT="Gives ids of the newest open and newest graded states">
<FIELDS>
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
<FIELD NAME="attemptid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="questionid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="newest" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="newgraded" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="sumpenalty" TYPE="number" LENGTH="12" NOTNULL="true" DEFAULT="0" SEQUENCE="false" DECIMALS="7"/>
<FIELD NAME="manualcomment" TYPE="text" NOTNULL="true" SEQUENCE="false"/>
<FIELD NAME="manualcommentformat" TYPE="int" LENGTH="2" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
<FIELD NAME="flagged" TYPE="int" LENGTH="2" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="The person attempting the question may mark certain questions within their question_attempt if the module that owns the attempt allow it. This field stores the status of that flag."/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="attemptid" TYPE="foreign" FIELDS="attemptid" REFTABLE="question_attempts" REFFIELDS="id"/>
<KEY NAME="questionid" TYPE="foreign" FIELDS="questionid" REFTABLE="question" REFFIELDS="id"/>
<KEY NAME="newest" TYPE="foreign" FIELDS="newest" REFTABLE="question_states" REFFIELDS="id"/>
<KEY NAME="newgraded" TYPE="foreign" FIELDS="newgraded" REFTABLE="question_states" REFFIELDS="id"/>
</KEYS>
<INDEXES>
<INDEX NAME="attemptid-questionid" UNIQUE="true" FIELDS="attemptid, questionid"/>
</INDEXES>
</TABLE>
<TABLE NAME="question_statistics" COMMENT="Statistics for individual questions used in an activity.">
<FIELDS>
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>

View File

@ -3005,5 +3005,33 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2014021300.01);
}
if ($oldversion < 2014021300.02) {
// Define table question_states to be dropped.
$table = new xmldb_table('question_states');
// Conditionally launch drop table for question_states.
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014021300.02);
}
if ($oldversion < 2014021300.03) {
// Define table question_sessions to be dropped.
$table = new xmldb_table('question_sessions');
// Conditionally launch drop table for question_sessions.
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014021300.03);
}
return true;
}

View File

@ -69,7 +69,6 @@
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Last modified time."/>
<FIELD NAME="timecheckstate" TYPE="int" LENGTH="10" NOTNULL="false" DEFAULT="0" SEQUENCE="false" COMMENT="Next time quiz cron should check attempt for state changes. NULL means never check."/>
<FIELD NAME="sumgrades" TYPE="number" LENGTH="10" NOTNULL="false" SEQUENCE="false" DECIMALS="5" COMMENT="Total marks for this attempt."/>
<FIELD NAME="needsupgradetonewqe" TYPE="int" LENGTH="3" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Used during the upgrade from Moodle 2.0 to 2.1. This will be removed in the future."/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>

View File

@ -500,6 +500,21 @@ function xmldb_quiz_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2014011306, 'quiz');
}
if ($oldversion < 2014021300) {
// Define field needsupgradetonewqe to be dropped from quiz_attempts.
$table = new xmldb_table('quiz_attempts');
$field = new xmldb_field('needsupgradetonewqe');
// Conditionally launch drop field needsupgradetonewqe.
if ($dbman->field_exists($table, $field)) {
$dbman->drop_field($table, $field);
}
// Quiz savepoint reached.
upgrade_mod_savepoint(true, 2014021300, 'quiz');
}
return true;
}

View File

@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2014011306; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2014021300; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2013110500; // Requires this Moodle version.
$plugin->component = 'mod_quiz'; // Full name of the plugin (used for diagnostics).
$plugin->cron = 60;

View File

@ -110,7 +110,6 @@ class question_engine_attempt_upgrader {
protected function set_quiz_attempt_layout($qubaid, $layout) {
global $DB;
$DB->set_field('quiz_attempts', 'layout', $layout, array('uniqueid' => $qubaid));
$DB->set_field('quiz_attempts', 'needsupgradetonewqe', 0, array('uniqueid' => $qubaid));
}
protected function delete_quiz_attempt($qubaid) {

View File

@ -89,7 +89,6 @@ class qtype_calculated_attempt_upgrader_test extends question_attempt_upgrader_t
'timemodified' => '1305830656',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '18',
@ -289,7 +288,6 @@ Remember to type a unit.',
'timemodified' => '1305830729',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '18',
@ -532,7 +530,6 @@ Remember to type a unit.',
'timemodified' => '1305830792',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '18',

View File

@ -89,7 +89,6 @@ class qtype_calculatedmulti_attempt_upgrader_test extends question_attempt_upgra
'timemodified' => '1305830656',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '17',
@ -311,7 +310,6 @@ class qtype_calculatedmulti_attempt_upgrader_test extends question_attempt_upgra
'timemodified' => '1305830729',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '17',
@ -553,7 +551,6 @@ class qtype_calculatedmulti_attempt_upgrader_test extends question_attempt_upgra
'timemodified' => '1305830792',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '17',

View File

@ -89,7 +89,6 @@ class qtype_calculatedsimple_attempt_upgrader_test extends question_attempt_upgr
'timemodified' => '1305830656',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '16',
@ -276,7 +275,6 @@ class qtype_calculatedsimple_attempt_upgrader_test extends question_attempt_upgr
'timemodified' => '1305830729',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '16',
@ -503,7 +501,6 @@ class qtype_calculatedsimple_attempt_upgrader_test extends question_attempt_upgr
'timemodified' => '1305830792',
'layout' => '16,0,17,0,18,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '16',

View File

@ -84,7 +84,6 @@ class qtype_description_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1185289590',
'layout' => '4940,0,5043,0,4945,0,4942,0,5566,0',
'preview' => '1',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '4940',
@ -231,7 +230,6 @@ class qtype_description_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1192742300',
'layout' => '8492,0,8487,8488,8489,8490,0,8441,0,8443,0,8486,0,8444,0,8445,0,8494,0,8446,8429,0,8447,8430,0,8448,8431,0,8449,8432,0,8450,8433,0,8451,8434,0,8452,8435,0,8453,8436,0,8454,8437,0,8493,0,8455,8456,8457,0,8458,8459,8460,0,8461,8462,8463,8438,0,8464,8465,8466,0,8467,8468,8469,0,8470,8471,8472,8439,0,8473,8440,0,8474,8475,8476,0,8477,8478,8479,0,8480,8481,8482,0,8483,8484,8485,8442,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '8492',
@ -381,7 +379,6 @@ class qtype_description_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1187168769',
'layout' => '8691,0,8690,8692,8693,8694,0,8695,0,8696,0,8697,0,8698,0,8699,0,8700,0,8701,8702,0,8703,8704,0,8705,8706,0,8707,8708,0,8709,8710,0,8711,8712,0,8713,8714,0,8715,8716,0,8717,8718,0,8719,0,8720,8721,8722,0,8723,8724,8725,0,8726,8727,8728,8729,0,8730,8731,8732,0,8733,8734,8735,0,8736,8737,8738,8739,0,8740,8741,0,8742,8743,8744,0,8745,8746,8747,0,8748,8749,8750,0,8752,8751,8753,8754,0',
'preview' => '1',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '8719',

View File

@ -88,7 +88,6 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1273069013',
'layout' => '90042,0,90043,0,90045,0,90052,0,90053,0,90054,0,90055,0,90056,0,90057,0,90058,0,90059,0,90046,0,90044,0,90047,0,90048,0,90049,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '90056',
@ -320,7 +319,6 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1179134869',
'layout' => '3664,3716,0,3663,3717,0,3718,3719,0,3720,0,3733,3727,0,3728,3730,0,3731,3732,0,3726,3729,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '3729',
@ -501,7 +499,6 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1179134869',
'layout' => '3664,3716,0,3663,3717,0,3718,3719,0,3720,0,3733,3727,0,3728,3730,0,3731,3732,0,3726,3729,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '3729',

View File

@ -83,7 +83,6 @@ class qtype_match_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1168015476',
'layout' => '689,690,0,691,692,0,693,694,0,695,696,0,697,698,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '695',
@ -342,7 +341,6 @@ class qtype_match_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1168267508',
'layout' => '509,510,511,738,514,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '738',
@ -553,7 +551,6 @@ class qtype_match_attempt_upgrader_test extends question_attempt_upgrader_test_b
'timemodified' => '1200506959',
'layout' => '11163,0,11164,0,11165,0,11135,0,11166,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '11135',

View File

@ -83,7 +83,6 @@ class qtype_multianswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1306425746',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '28',
@ -288,7 +287,6 @@ class qtype_multianswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1306425762',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '28',
@ -472,7 +470,6 @@ class qtype_multianswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1306425931',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '28',
@ -698,7 +695,6 @@ class qtype_multianswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1306425746',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '19',
@ -1385,7 +1381,6 @@ b) What grade would you give it? _____',
'timemodified' => '1306425762',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '19',
@ -2044,7 +2039,6 @@ b) What grade would you give it? _____',
'timemodified' => '1306425931',
'layout' => '28,19,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '19',

View File

@ -94,7 +94,6 @@ class qtype_multichoice_attempt_upgrader_test extends question_attempt_upgrader_
'layout' => '2,0',
'preview' => '0',
'sumgrades' => '0.90000',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '2',
@ -321,7 +320,6 @@ class qtype_multichoice_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1150203042',
'layout' => '93,76,82,75,87,74,90,94,73,77,81,95,79,92,88,80,91,86,72,83,84,89,85,78,71,0',
'preview' => '1',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '72',
@ -490,7 +488,6 @@ class qtype_multichoice_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1161947130',
'layout' => '218,221,219,220,223,224,222,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '218',
@ -686,7 +683,6 @@ class qtype_multichoice_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1177008794',
'layout' => '2855,2856,0,2857,2858,0,2859,2860,0,2861,2862,0,2863,2864,0,2865,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '2855',
@ -926,7 +922,6 @@ class qtype_multichoice_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1150203042',
'layout' => '93,76,82,75,87,74,90,94,73,77,81,95,79,92,88,80,91,86,72,83,84,89,85,78,71,0',
'preview' => '1',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '72',
@ -1062,7 +1057,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1198254352',
'layout' => '178,179,180,181,182,183,184,185,189,187,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '179',
@ -1267,7 +1261,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1249488674',
'layout' => '26132,26128,0,26143,26140,0,26144,26141,0,26145,26142,0,26126,26127,0,26134,26135,0,26131,26133,0,26130,26129,0,26136,26137,0,26139,26138,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '26132',
@ -1513,7 +1506,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1258492857',
'layout' => '60135,60136,60137,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '60137',
@ -1745,7 +1737,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1166546472',
'layout' => '161,0,160,0,162,0,163,0,164,0,165,0,166,0,190,0,191,0,192,0,193,0,194,0,195,0,196,0,197,0,198,0,168,0,169,0,170,0,171,0,172,0,173,0,174,0,175,0,176,0,177,0,178,0,179,0,180,0,181,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '163',
@ -1985,7 +1976,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1275089451',
'layout' => '89002,0,89040,0,89042,0,89043,0,89044,0,89045,0,89046,0,89047,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '89040',
@ -2188,7 +2178,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'timemodified' => '1179303420',
'layout' => '3859,3860,0,3861,3862,0,3863,3864,0,3865,3866,0,3867,3868,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '3863',
@ -2411,7 +2400,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'layout' => '242,0,243,0,244,0,245,0,246,0,247,0',
'preview' => '0',
'sumgrades' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '247',
@ -2621,7 +2609,6 @@ public function test_multichoice_deferredfeedback_qsession140() {
'layout' => '242,0,243,0,244,0,245,0,246,0,247,0',
'preview' => '0',
'sumgrades' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '242',

View File

@ -84,7 +84,6 @@ class qtype_numerical_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1178571037',
'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '4165',
@ -311,7 +310,6 @@ class qtype_numerical_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1305273600',
'layout' => '6,12,13,15,14,0',
'preview' => '1',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '15',

View File

@ -86,7 +86,6 @@ class qtype_random_attempt_upgrader_test extends question_attempt_upgrader_test_
'timemodified' => '1238182560',
'layout' => '28698,0,34245,0,34248,0,35005,0,35009,0,35013,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '34248',
@ -315,7 +314,6 @@ class qtype_random_attempt_upgrader_test extends question_attempt_upgrader_test_
'timemodified' => '1274178763',
'layout' => '101989,101985,101994,0,101988,101986,101992,0,101997,101990,101991,0,101984,101995,101987,0,101983,101993,101996,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '101984',
@ -565,7 +563,6 @@ class qtype_random_attempt_upgrader_test extends question_attempt_upgrader_test_
'timemodified' => '1269508052',
'layout' => '68646,0,81245,0,81246,0,81247,0,81248,0,81249,0,81250,0,82795,0,82797,0,82798,0,82799,0,82800,0,82801,0,82802,0,82803,0,82804,0,82805,0,82806,0,82807,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '81247',
@ -835,7 +832,6 @@ class qtype_random_attempt_upgrader_test extends question_attempt_upgrader_test_
'timemodified' => '1305273672',
'layout' => '6,12,13,15,14,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '14',

View File

@ -84,7 +84,6 @@ class qtype_shortanswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1178549306',
'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '4239',
@ -296,7 +295,6 @@ class qtype_shortanswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1161206024',
'layout' => '10219,10220,10216,10217,10218,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '10216',
@ -470,7 +468,6 @@ class qtype_shortanswer_attempt_upgrader_test extends question_attempt_upgrader_
'timemodified' => '1178636138',
'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '4184',

View File

@ -84,7 +84,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1177841394',
'layout' => '3859,3860,0,3861,3862,0,3863,3864,0,3865,3866,0,3867,3868,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '3865',
@ -275,7 +274,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1200326384',
'layout' => '9043,0,9057,0,9062,0,9241,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '9062',
@ -455,7 +453,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1150454872',
'layout' => '96,108,102,101,106,113,104,98,111,0',
'preview' => '0',
'needsupgradetonewqe' => '1',
);
$question = (object) array(
'id' => '111',
@ -633,7 +630,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1309103120',
'layout' => '30,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '30',
@ -825,7 +821,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1309103136',
'layout' => '30,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '30',
@ -1022,7 +1017,6 @@ class qtype_truefalse_attempt_upgrader_test extends question_attempt_upgrader_te
'timemodified' => '1309441969',
'layout' => '1,0',
'preview' => '0',
'needsupgradetonewqe' => 1,
);
$question = (object) array(
'id' => '1',

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2014021300.01; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2014021300.03; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.