Change record status: 
Project: 
Introduced in branch: 
8.0.x
Description: 

The Update module was converted to object-oriented in issue #1987888: Convert update_manual_status() to a new style controller.

update_project_storage() was transformed into UpdateManager::projectStorage().

_update_refresh() was transformed into UpdateManager::refreshUpdateData().

_update_fetch_data() was transformed into UpdateProcessor::fetchData().

Examples

Old:

module_load_include('inc', 'update', 'update.compare');
update_project_storage()

New:

\Drupal::service('update.manager')->projectStorage();

Old:

module_load_include('inc', 'update', 'update.fetch');
_update_fetch_data();

New:

\Drupal::service('update.processor')->fetchData();

Old:

module_load_include('inc', 'update', 'update.fetch');
_update_refresh();

New:

\Drupal::service('update.manager')->refreshUpdateData();
Impacts: 
Module developers