MDL-53972 feedback: Final deprecation in mod/feedback/lib.php
[moodle.git] / mod / feedback / upgrade.txt
CommitLineData
98f9db0d
MG
1=== 3.6 ===
2
3* The following functions have been finally deprecated and can not be used anymore:
4 * feedback_print_item_preview()
5 * feedback_print_item_complete()
6 * feedback_print_item_show_value()
7 * feedback_check_values()
8 * feedback_clean_input_value()
9 * feedback_get_context()
10 * feedback_create_item()
11 * feedback_delete_completedtmp()
12 * feedback_get_page_to_continue()
13 * feedback_save_values()
14 * feedback_save_guest_values()
15 * feedback_create_values()
16 * feedback_update_values()
17 * feedback_get_current_completed()
18 * feedback_is_course_in_sitecourse_map()
19 * feedback_is_feedback_in_sitecourse_map()
20 * feedback_clean_up_sitecourse_map()
21 * feedback_print_numeric_option_list()
22
7ec475e2
EL
23=== 3.5 ===
24
25* The following functions, previously used (exclusively) by upgrade steps are not available
26 anymore because of the upgrade cleanup performed for this version. See MDL-59159 for more info:
27 - mod_feedback_upgrade_delete_duplicate_values()
28 - mod_feedback_upgrade_courseid()
29
e5ca70ba 30=== 3.3.2 ===
1a305933 31
9ffbdafc
AG
32* feedback_refresh_events() Now takes two additional parameters to refine the update to a specific instance. This function
33 now optionally takes the module instance object or ID, and the course module object or ID. Please try to send the full
34 objects instead of the ids to save DB calls.
1a305933 35
e5ca70ba
DP
36=== 3.3 ===
37
38* Method get_current_completed_tmp in mod_feedback_completion class is now public.
39* Function feedback_set_tmp_values is not deprecated anymore.
40
ed724aac
MG
41=== 3.1 ===
42
43* feedback_get_courses_from_sitecourse_map() now returns course id as 'id' attribute
97d71cbc
MG
44* Base class for feedback items - feedback_item_base - has been significantly changed, all item types now
45 must implement method complete_form_element() instead of print_item_preview(), print_item_complete(),
46 print_item_show_value(), check_values(), clean_input_value() and value_is_array(). Rendering the items
47 on complete form, feedback preview, feedback edit and when viewing response is done using moodleform.
48* The following functions have been deprecated:
49 * feedback_print_item_preview()
50 * feedback_print_item_complete()
51 * feedback_print_item_show_value
52 * feedback_check_values()
53 * feedback_clean_input_value()
54 * feedback_get_context()
55 * feedback_create_item()
56 * feedback_set_tmp_values()
57 * feedback_delete_completedtmp()
58 * feedback_get_page_to_continue()
59 * feedback_save_values()
60 * feedback_save_guest_values()
61 * feedback_create_values()
62 * feedback_update_values()
63 * feedback_get_current_completed()
64 * feedback_is_course_in_sitecourse_map()
65 * feedback_is_feedback_in_sitecourse_map()
66 * feedback_clean_up_sitecourse_map()
67 * feedback_print_numeric_option_list()
ed724aac 68
c446f41a
MN
69=== 2.7 ===
70
71* The validation of the following events is now stricter (see MDL-45445):
72 - \mod_feedback\event\response_deleted
73 - \mod_feedback\event\response_submitted