<?php
/**
 * Uninstall: drop the log table and options.
 */

defined( 'WP_UNINSTALL_PLUGIN' ) || exit;

global $wpdb;

$table = $wpdb->prefix . 'bw_update_log';
$wpdb->query( "DROP TABLE IF EXISTS `{$table}`" );

delete_option( 'bw_update_server_db_version' );
