Merge branch 'MDL-67526_final-deprecation-of-plagiarism-functions' of https://github.com/ziegenberg/moodle

This commit is contained in:
Sara Arjona
2023-03-17 13:03:31 +01:00
8 changed files with 29 additions and 109 deletions
+21
View File
@@ -3187,6 +3187,27 @@ function user_get_participants($courseid, $groupid, $accesssince, $roleid, $enro
return $DB->get_recordset_sql("$select $from $where $sort", $params, $limitfrom, $limitnum);
}
/**
* @deprecated Since Moodle 3.9. MDL-65835
*/
function plagiarism_save_form_elements() {
throw new coding_exception(
'Function plagiarism_save_form_elements() has been removed. ' .
'Please use {plugin name}_coursemodule_edit_post_actions() instead.'
);
}
/**
* @deprecated Since Moodle 3.9. MDL-65835
*/
function plagiarism_get_form_elements_module() {
throw new coding_exception(
'Function plagiarism_get_form_elements_module() has been removed. ' .
'Please use {plugin name}_coursemodule_standard_elements() instead.'
);
}
/**
* Returns the list of full course categories to be used in html_writer::select()
*