weekly release 4.0dev
[moodle.git] / plagiarism / upgrade.txt
CommitLineData
5e43eea0 1This files describes API changes for code that uses the plagiarism API.
d0d65b49 2
4b18cc0b
DM
3=== 4.0 ===
4* The method update_status() has been deprecated. Please use {plugin name}_before_standard_top_of_body_html() instead.
5* The method get_configs() has been deprecated and will be removed from the abstract class as it was not used in core.
6* The method plagiarism_get_file_results has been deprecated - it was not used in core - please call a plagiarism
7 plugins internal functions directly instead of using this function.
8
21778d8d
DM
9=== 3.11 ===
10* Support for Essay question type in Quiz has now been implemented, allowing plagiarism plugins to display information
11 on the quiz overview report and when viewing an essay question response.
12 To implement support, plugins should add a listener to the \mod_quiz\event\attempt_submitted event to send the data
13 to the plagiarism api using the essay question response summary (plain text response from the user).
14 The function plagiarism_get_links should only be called to render the results.
15
d0d65b49
AG
16=== 3.9 ===
17
18* The method get_form_elements_module has been deprecated. Please use {plugin name}_coursemodule_edit_post_actions() instead.
19* The method save_form_elements has been deprecated. Please use {plugin name}_coursemodule_standard_elements() instead.
20
39802ea0
SL
21=== 3.7 ===
22
23* The plagiarism_cron() function has been deleted, plugins should implement their own scheduled tasks.
5e43eea0 24
6bfd4195
DP
25=== 3.4 ===
26
27* plagiarism_plugin::get_links() now gets passed the unformated content of online assignment
28
5e43eea0
MA
29=== 3.1 ===
30
311) The plagiarism_plugin::plagiarism_cron() and plagiarism_plugin::cron() methods have been deprecated.
6bfd4195 32 Plugins should now use scheduled tasks.