update_storage_clear

update_storage_clear()

Invalidates stored data relating to update status.

File

core/modules/update/update.module, line 641
Handles updates of Drupal core and contributed projects.

Code

function update_storage_clear() {
  \Drupal::keyValueExpirable('update')->deleteAll();
  \Drupal::keyValueExpirable('update_available_release')->deleteAll();
}
doc_Drupal
2016-10-29 09:51:27
Comments
Leave a Comment

Please login to continue.