You are here

function security_review_modules_uninstalled in Security Review 8

Implements hook_modules_uninstalled().

File

./security_review.module, line 57
Site security review and reporting Drupal module.

Code

function security_review_modules_uninstalled($modules) {

  /** @var \Drupal\security_review\SecurityReview $security_review */
  $security_review = Drupal::service('security_review');

  // Clean orphaned checks.
  $security_review
    ->cleanStorage();
}