Merge branch 'master_MDL-34382_add_new_option_to_flag_modules_that_support_plagiarism_plugins' of git://github.com/kanikagoyal/moodle

This commit is contained in:
Aparup Banerjee 2012-08-14 15:48:19 +08:00
commit 50f0c35dd3
5 changed files with 6 additions and 0 deletions

View File

@ -392,6 +392,8 @@ define('FEATURE_GRADE_OUTCOMES', 'outcomes');
define('FEATURE_ADVANCED_GRADING', 'grade_advanced_grading');
/** True if module controls the grade visibility over the gradebook */
define('FEATURE_CONTROLS_GRADE_VISIBILITY', 'controlsgradevisbility');
/** True if module supports plagiarism plugins */
define('FEATURE_PLAGIARISM', 'plagiarism');
/** True if module has code to track whether somebody viewed it */
define('FEATURE_COMPLETION_TRACKS_VIEWS', 'completion_tracks_views');

View File

@ -88,6 +88,7 @@ function assign_supports($feature) {
case FEATURE_BACKUP_MOODLE2: return true;
case FEATURE_SHOW_DESCRIPTION: return true;
case FEATURE_ADVANCED_GRADING: return true;
case FEATURE_PLAGIARISM: return true;
default: return null;
}

View File

@ -3905,6 +3905,7 @@ function assignment_supports($feature) {
case FEATURE_BACKUP_MOODLE2: return true;
case FEATURE_SHOW_DESCRIPTION: return true;
case FEATURE_ADVANCED_GRADING: return true;
case FEATURE_PLAGIARISM: return true;
default: return null;
}

View File

@ -303,6 +303,7 @@ function forum_supports($feature) {
case FEATURE_RATE: return true;
case FEATURE_BACKUP_MOODLE2: return true;
case FEATURE_SHOW_DESCRIPTION: return true;
case FEATURE_PLAGIARISM: return true;
default: return null;
}

View File

@ -53,6 +53,7 @@ function workshop_supports($feature) {
case FEATURE_COMPLETION_TRACKS_VIEWS:
return true;
case FEATURE_SHOW_DESCRIPTION: return true;
case FEATURE_PLAGIARISM: return true;
default: return null;
}
}