MDL-19936 backup - added missing "scale" annotation in accumulative subplugin
authorEloy Lafuente <stronk7@moodle.org>
Fri, 6 Aug 2010 16:12:59 +0000 (16:12 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Fri, 6 Aug 2010 16:12:59 +0000 (16:12 +0000)
mod/workshop/form/accumulative/backup/moodle2/backup_workshopform_accumulative_subplugin.class.php

index f1e5d86..1ad610e 100644 (file)
@@ -46,6 +46,9 @@ class backup_workshopform_accumulative_subplugin extends backup_subplugin {
         // set source to populate the data
         $subplugindimension->set_source_table('workshopform_accumulative', array('workshopid' => backup::VAR_ACTIVITYID));
 
+        // id annotations
+        $subplugindimension->annotate_ids('scale', 'grade');
+
         // file annotations
         $subplugindimension->annotate_files('workshopform_accumulative', 'description', 'id');