MDL-27018 restore - decode links missing url->externalurl support
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 9 Jul 2011 11:33:50 +0000 (13:33 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 9 Jul 2011 11:33:50 +0000 (13:33 +0200)
mod/url/backup/moodle2/restore_url_activity_task.class.php

index d33e14e..106411b 100644 (file)
@@ -54,7 +54,7 @@ class restore_url_activity_task extends restore_activity_task {
     static public function define_decode_contents() {
         $contents = array();
 
-        $contents[] = new restore_decode_content('url', array('intro'), 'url');
+        $contents[] = new restore_decode_content('url', array('intro', 'externalurl'), 'url');
 
         return $contents;
     }