You are here

public function SecurityAdvisoriesFetcher::deleteStoredResponse in Drupal 9

Deletes the stored JSON feed response, if any.

File

core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php, line 169

Class

SecurityAdvisoriesFetcher
Defines a service to get security advisories.

Namespace

Drupal\system\SecurityAdvisories

Code

public function deleteStoredResponse() : void {
  $this->keyValueExpirable
    ->delete(self::ADVISORIES_JSON_EXPIRABLE_KEY);
}