By dww on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
Description:
In addition to the changes described at authorize.php, the FileTransfer and Updater systems, and all related code is deprecated, additional services, functions and a theme template are deprecated:
- The
update.rootservice andcore/modules/update/src/UpdateRoot.php _update_manager_cache_directory()_update_manager_extract_directory()_update_manager_unique_identifier()update_clear_update_disk_cache()update_delete_file_if_stale()- The
authorize-reporttheme template,authorize-report.html.twig(from both system and stable9 theme), andtemplate_preprocess_authorize_report()
There is no replacement. Use composer to manage the code for Drupal sites.
update_clear_update_disk_cache() used to be called via hook_cron(), but that is no longer the case. Sites that haven't used the Update Manager should not have any files in this cache. A post update method is provided, update_post_update_clear_disk_cache(), to remove directories named "update-cache-*" and "update-extraction-*" (and all of their contents) in the site's temporary directory on disk.
Impacts:
Site builders, administrators, editors
Module developers
Themers
Site templates, recipes and distribution developers