function update_storage_clear

Invalidates stored data relating to update status.

6 calls to update_storage_clear()
hook_themes_disabled in drupal/core/modules/system/theme.api.php
Respond to themes being disabled.
UpdateCoreTest::testFetchTasks in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
Tests that exactly one fetch task per project is created and not more.
UpdateSettingsForm::submitForm in drupal/core/modules/update/lib/Drupal/update/UpdateSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::submitForm().
update_storage_clear_submit in drupal/core/modules/update/update.module
Form submission handler for system_modules().
update_themes_disabled in drupal/core/modules/update/update.module
Implements hook_themes_disabled().

... See full list

File

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

Code

function update_storage_clear() {
  Drupal::keyValueExpirable('update')
    ->deleteAll();
  Drupal::keyValueExpirable('update_available_release')
    ->deleteAll();
}