2024-05-07 14:24:44 +08:00
|
|
|
=== 4.5 Onwards ===
|
|
|
|
|
|
|
|
This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
|
|
|
|
|
|
|
|
===
|
2012-06-12 22:32:43 +08:00
|
|
|
This files describes API changes in /portfolio/ portfolio system,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
2021-08-10 16:41:35 +02:00
|
|
|
=== 4.0 ===
|
|
|
|
|
2021-10-08 12:58:46 +02:00
|
|
|
* The portfolio_boxnet has been completely removed.
|
2021-08-10 16:41:35 +02:00
|
|
|
* The portfolio_picasa has been completely removed (Picasa is discontinued since 2016).
|
|
|
|
|
2019-03-27 11:04:40 +08:00
|
|
|
=== 3.7 ===
|
|
|
|
|
|
|
|
* The portfolio_cron() function has been removed. Please use portfolio_cron_task scheduled task instead.
|
|
|
|
|
2016-02-08 00:23:01 +01:00
|
|
|
=== 3.1 ===
|
|
|
|
|
|
|
|
* The following functions, previously used (exclusively) by upgrade steps are not available
|
|
|
|
anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
|
|
|
|
- portfolio_picasa_admin_upgrade_notification()
|
|
|
|
- portfolio_googledocs_admin_upgrade_notification()
|
|
|
|
- portfolio_boxnet_admin_upgrade_notification()
|
|
|
|
|
2012-11-07 14:49:52 +08:00
|
|
|
=== 2.4 ===
|
|
|
|
|
|
|
|
The set_callback_options function's third parameter has been changed from a file path
|
|
|
|
to the component name - see MDL-33791. However, if any existing code passes a file path
|
|
|
|
Moodle will attempt to obtain the component name from the file path provided. Also, the
|
|
|
|
callback class should be located in the module's locallib.php file.
|
|
|
|
|
|
|
|
Example of change:
|
|
|
|
|
|
|
|
This:
|
|
|
|
|
|
|
|
$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), '/mod/assignment/locallib.php');
|
|
|
|
|
|
|
|
Now becomes:
|
|
|
|
|
2012-11-28 10:28:01 +08:00
|
|
|
$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');
|
|
|
|
|
|
|
|
=== 2.3 ===
|
|
|
|
|
|
|
|
required changes:
|
|
|
|
* The following methods must now be declared static for php5 compatibility:
|
|
|
|
- admin_config_form
|
|
|
|
- admin_config_validation
|