mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +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();
ACTIVITY MODULES ---------------- These are main modules in Moodle, allowing various activities. Each of these modules contains a number of expected components: mod_form.php: a form to setup/update a module instance version.php: defines some meta-info and provides upgrading code pix/icon.gif: a 16x16 icon for the module db/install.xml: an SQL dump of all the required db tables and data index.php: a page to list all instances in a course view.php: a page to view a particular instance lib.php: any/all functions defined by the module should be in here. constants should be defined using MODULENAME_xxxxxx functions should be defined using modulename_xxxxxx There are a number of standard functions: modulename_add_instance() modulename_update_instance() modulename_delete_instance() modulename_user_complete() modulename_user_outline() modulename_cron() modulename_print_recent_activity() If you are a developer and interested in developing new Modules see: Moodle Documentation: http://moodle.org/doc Moodle Community: http://moodle.org/community