mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
1405f010b7
This commits removes stuff from different upgradelib files, used exclusively by the already deleted upgrade steps. Given such exclusivity it was not needed to proceed with a 2-phase deprecation as far as the functions were 100% internal to upgrade. This is the list of deleted functions, all them docummented in their corresponding upgrade.txt files: - repository_picasa_admin_upgrade_notification(); - repository_googledocs_admin_upgrade_notification(); - repository_boxnet_admin_upgrade_notification(); - repository_alfresco_admin_security_key_notice(); - qtype_essay_convert_to_html(); - portfolio_picasa_admin_upgrade_notification(); - portfolio_googledocs_admin_upgrade_notification(); - portfolio_boxnet_admin_upgrade_notification(); - mod_book_migrate_moddata_dir_to_legacy(); - mod_book_migrate_all_areas(); - mod_book_migrate_area(); - mod_assignment_pending_upgrades_notification(); - upgrade_mysql_fix_unsigned_and_lob_columns(); - upgrade_course_completion_remove_duplicates(); - upgrade_save_orphaned_questions(); - upgrade_rename_old_backup_files_using_shortname(); - upgrade_mssql_nvarcharmax(); - upgrade_mssql_varbinarymax(); - upgrade_fix_missing_root_folders(); - upgrade_course_modules_sequences(); - upgrade_grade_item_fix_sortorder(); - upgrade_availability_item();
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
This files describes API changes in /portfolio/ portfolio system,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 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()
|
|
|
|
=== 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:
|
|
|
|
$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
|