<?php
/**
 * Fired during plugin deactivation.
 *
 * @package Lucrativeit_Subscription_Recurring_Billing
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Deactivation routines. We intentionally keep data on deactivation;
 * data removal is handled by uninstall.php.
 */
class LUCRSURE_Deactivator {

	/**
	 * Run deactivation routines.
	 */
	public static function deactivate() {
		wp_clear_scheduled_hook( 'lucrsure_daily_billing_cron' );
		flush_rewrite_rules();
	}
}
