mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
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:
commit
50f0c35dd3
@ -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');
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user