You are here

function cleantalk_update_8140 in Anti Spam by CleanTalk 8.3

Same name and namespace in other branches
  1. 8.4 cleantalk.install \cleantalk_update_8140()

File

./cleantalk.install, line 173
Install and uninstall functions, schema definition for the CleanTalk module.

Code

function cleantalk_update_8140(&$sandbox) {
  \Drupal::state()
    ->set('cleantalk_remote_calls', array(
    'close_renew_banner' => array(
      'last_call' => 0,
    ),
    'sfw_update' => array(
      'last_call' => 0,
      'cooldown' => 600,
    ),
    'sfw_update__write_base' => array(
      'last_call' => 0,
    ),
    'sfw_send_logs' => array(
      'last_call' => 0,
    ),
    'update_plugin' => array(
      'last_call' => 0,
    ),
  ));
}