MDL-30018 restore: better answer matching. Credit goes to Tyler Bannister, thanks!
commitcb69b471bd511837b2dea4df0342a90c7af24f75
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 27 Aug 2012 01:24:10 +0000 (27 03:24 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 9 Sep 2012 18:30:20 +0000 (9 20:30 +0200)
tree48e9f2873a2cb13e3bc8f2837fe4bd15cfd089ca
parent698ecafa61ac917ea316a2d709dcf62a9c6b4c9f
MDL-30018 restore: better answer matching. Credit goes to Tyler Bannister, thanks!

On backup, contents are cleaned to be safe utf8. That was leading to
some matching problems on restore against not cleaned DB contents (for
already existing questions). This commit adds one fallback method to
perform the match against cleaned DB contents.
backup/moodle2/restore_qtype_plugin.class.php