upgrade.txt 1.64 KB
Newer Older
1
2
3
This files describes API changes in /mod/workshop - activity modules,
information provided here is intended especially for developers.

4
5
6
7
8
9
10
11
12
=== 4.0 ===

* \mod_workshop\event\phase_automatically_switched event is triggered when the phase is automatically switched within
  the cron task.
* A new method \workshopallocation_scheduled::phase_automatically_switched added to handle the
  \mod_workshop\event\phase_automatically_switched event.
* A new boolean parameter, $checksubmissionphase, has been added to the workshop_scheduled_allocator::execute() method
  in order to allow (or not) the allocation of submissions to be done in phases other than the SUBMISSION_PHASE.

13
14
15
16
17
=== 3.8 ===

* The following functions have been finally deprecated and can not be used anymore:
    * workshop_scale_used()

18
19
20
21
=== 3.7 ===

* workshop_cron() has been removed. Sub-plugins should now implement scheduled tasks.

22
23
24
25
26
=== 3.6 ===

* The external function get_workshops_by_courses now returns 2 additional fields: submissiontypetext and
  submissiontypefile, indicating which submission types are available and required.

27
28
29
30
=== 3.4 ===

* workshop_strategy::get_dimensions_info now returns also the scale items (if scales are being used).

31
=== 3.3.2 ===
32
33
34
35
36

* workshop_refresh_events() Now takes two additional parameters to refine the update to a specific instance. This function
  now optionally takes the module instance object or ID, and the course module object or ID. Please try to send the full
  objects instead of the ids to save DB calls.

37
38
39
=== 2.7 ===

* The method workshop::log() has been deprecated in the workshop module. Please use the event classes instead
40
  (mod/workshop/classes/event).