<?php
/**
 * Created by PhpStorm.
 * User: imyuvii
 * Date: 05/11/16
 * Time: 12:12 PM
 */

// if uninstall.php is not called by WordPress, die
if (!defined('WP_UNINSTALL_PLUGIN')) {
    die;
}

$option_name = 'easy-justified-gallery_options';

delete_option($option_name);

// for site options in Multisite
delete_site_option($option_name);

// drop a custom database table
/*global $wpdb;
$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}mytable");*/