You are here

function ip_geoloc_erase_db in IP Geolocation Views & Maps 7

Delete geoloc data from database.

1 string reference to 'ip_geoloc_erase_db'
ip_geoloc_admin_configure in ./ip_geoloc.admin.inc
Menu callback for admin settings.

File

./ip_geoloc.admin.inc, line 428
Admin configuration settings for IPGV&M.

Code

function ip_geoloc_erase_db() {

  // Wipe previous messages to avoid confusion.
  drupal_get_messages();
  db_delete('ip_geoloc')
    ->execute();
}