<?php
if(!defined("ABSPATH")) exit; //exit if accessed directly
global $wpdb,$current_user;
if (!is_user_logged_in()) {
	return;
}

$sql = "DROP TABLE " . gallery_bank_albums();
$wpdb->query($sql);

$sql = "DROP TABLE " . gallery_bank_pics();
$wpdb->query($sql);

$sql = "DROP TABLE " . gallery_bank_settings();
$wpdb->query($sql);

delete_option("gallery-bank-pro-edition");
delete_option("allow_tracking_gb");
?>
