MDL-22151 backup - added survey module backup
[moodle.git] / mod / survey / lib.php
index 056ed9b..a1828a1 100644 (file)
@@ -795,6 +795,7 @@ function survey_supports($feature) {
         case FEATURE_COMPLETION_TRACKS_VIEWS: return true;
         case FEATURE_GRADE_HAS_GRADE:         return true;
         case FEATURE_GRADE_OUTCOMES:          return true;
         case FEATURE_COMPLETION_TRACKS_VIEWS: return true;
         case FEATURE_GRADE_HAS_GRADE:         return true;
         case FEATURE_GRADE_OUTCOMES:          return true;
+        case FEATURE_BACKUP_MOODLE2:          return true;
 
         default: return null;
     }
 
         default: return null;
     }
@@ -852,4 +853,4 @@ function survey_extend_settings_navigation($settings, $surveynode) {
             $surveynode->add(get_string('downloadresults', 'survey'), $url);
         }
     }
             $surveynode->add(get_string('downloadresults', 'survey'), $url);
         }
     }
-}
\ No newline at end of file
+}