Commit 11e02a67 authored by catch's avatar catch

Issue #2384049 by suntog, mikemiles86, lokapujya, arpitr: Remove deprecated...

Issue #2384049 by suntog, mikemiles86, lokapujya, arpitr: Remove deprecated function _update_fetch_data and its usage
parent 029d74f8
......@@ -5,18 +5,6 @@
* Code required only when fetching information about available updates.
*/
/**
* Attempts to drain the queue of tasks for release history data to fetch.
*
* @see \Drupal\update\UpdateFetcher::fetchData()
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::service('update.processor')->fetchData().
*/
function _update_fetch_data() {
\Drupal::service('update.processor')->fetchData();
}
/**
* Performs any notifications that should be done once cron fetches new data.
*
......
......@@ -396,11 +396,10 @@ function update_refresh() {
/**
* Attempts to fetch update data after loading the necessary include file.
*
* @see _update_fetch_data()
* @see \Drupal\update\UpdateProcessor::fetchData()
*/
function update_fetch_data() {
module_load_include('inc', 'update', 'update.fetch');
_update_fetch_data();
\Drupal::service('update.processor')->fetchData();
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment