<?php

/**
 * Fired during plugin deactivation
 *
 * @link       https://www.56degrees.co.uk/
 * @since      1.0.0
 *
 * @package    Fsdsb_Simple_Banner
 * @subpackage Fsdsb_Simple_Banner/includes
 */

/**
 * Fired during plugin deactivation.
 *
 * This class defines all code necessary to run during the plugin's deactivation.
 *
 * @since      1.0.0
 * @package    Fsdsb_Simple_Banner
 * @subpackage Fsdsb_Simple_Banner/includes
 * @author     56 Degrees <tech@degrees.co.uk>
 */
class Fsdsb_Simple_Banner_Deactivator {

	/**
	 * Short Description. (use period)
	 *
	 * Long Description.
	 *
	 * @since    1.0.0
	 */
	public static function deactivate() {
//        register_deactivation_hook(__FILE__, 'crb_delete_all_data');
//
//        global $wpdb;
//
//        // Delete all data in Carbon Fields
//        $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE meta_key LIKE '_crb_fsd_sb%'");
//        $wpdb->query("DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE '_crb_fsd_sb%'");
//        $wpdb->query("DELETE FROM {$wpdb->termmeta} WHERE meta_key LIKE '_crb_fsd_sb%'");
//
//        // Delete all data in Carbon Fields
//        $wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name LIKE '_crb_fsd_sb%'");
	}

}
