By dww on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.1.x
Introduced in version:
9.1.0
Issue links:
Description:
update_delete_file_if_stale() should be an internal method used only by the Drupal core Update Manager. It should not be called by other code, and will be properly deprecated at some point. It used to not return anything, leading to a bug in update_manager_file_get() where it always fetched remote files. update_delete_file_if_stale() now returns a boolean: TRUE if the requested file was considered stale and deleted, otherwise FALSE.
Impacts:
Module developers