From 80eac599fe7b0c8ded3c3f1562b29d77a35e7054 Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Thu, 5 Dec 2024 16:27:14 +0100 Subject: [PATCH] Fix restore strings. --- backup/moodle2/restore_verbalfeedback_stepslib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/backup/moodle2/restore_verbalfeedback_stepslib.php b/backup/moodle2/restore_verbalfeedback_stepslib.php index 2023fe6..ca538a6 100644 --- a/backup/moodle2/restore_verbalfeedback_stepslib.php +++ b/backup/moodle2/restore_verbalfeedback_stepslib.php @@ -335,7 +335,6 @@ private function process_localized_string($foreigenkeymapping, $data) { $data = (object) $data; $data->foreignkey = $this->get_mappingid($foreigenkeymapping, $data->foreignkey); $data->languageid = $this->get_mappingid('language', $data->languageid); - $data->typeid = $this->get_mappingid('typeid', $data->typeid); $data->instanceid = $this->instanceid; $DB->insert_record('verbalfeedback_local_string', $data); }