<?php
// This is an include file, all normal WordPress functions will still work.
// Because the plugin is already deactivated it won't regonize any class declarations.


if ( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) )
	exit();

global $wpdb;
if ( 'avh-first-defense-against-spam' == dirname( $file ) )  {
	delete_site_option( 'avhfdas' );
	delete_site_option( 'avhfdas_data' );
	delete_site_option( 'avhfdas_nonces' );
	$ipcache = $wpdb->prefix . 'avhfdas_ipcache';
	$result = $wpdb->query( 'DROP TABLE IF EXISTS `'. $ipcache.'`' );
}