<?php
namespace BetterLinks;
if ( ! defined( 'ABSPATH' ) ) { exit; }

class Uninstall
{
	public function __construct()
	{
		$this->clear_cron_events();
		Helper::clear_query_cache();
	}
	public function clear_cron_events()
	{
		wp_clear_scheduled_hook('betterlinks/write_json_links');
		wp_clear_scheduled_hook('betterlinks/analytics');
	}
}
