upgrade.txt 1.12 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
=== 3.8 ===

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

9 10 11 12
=== 3.7 ===

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

13 14 15 16 17
=== 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.

18 19 20 21
=== 3.4 ===

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

22
=== 3.3.2 ===
23 24 25 26 27

* 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.

28 29 30
=== 2.7 ===

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