You are here

function spambot_uninstall in Spambot 8

Same name and namespace in other branches
  1. 6.3 spambot.install \spambot_uninstall()
  2. 7 spambot.install \spambot_uninstall()

Clear all used storage.

File

./spambot.install, line 45
Install and update hooks for Spambot module.

Code

function spambot_uninstall() {
  \Drupal::state()
    ->delete('spambot_last_checked_uid');
}