MDL-27018 restore - decode links missing url->externalurl support
[moodle.git] / 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();
 
     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;
     }
 
         return $contents;
     }