Skip to content

Instantly share code, notes, and snippets.

@jonathanfranks
Created July 20, 2015 17:57
Show Gist options
  • Save jonathanfranks/ec065382acb1c016329a to your computer and use it in GitHub Desktop.
Save jonathanfranks/ec065382acb1c016329a to your computer and use it in GitHub Desktop.
Manual clear flood table
$results = db_select('flood')->fields(NULL, array('expiration'))->execute()->fetchAll();
$count = count($results);
dpm($count);
db_delete('flood')
->execute();
$results = db_select('flood')->fields(NULL, array('expiration'))->execute()->fetchAll();
$count = count($results);
dpm($count);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment