<?php
/**
 * Deactivation lifecycle.
 *
 * @package VoidPulse
 */

namespace VoidPulse\Core;

defined( 'ABSPATH' ) || exit;

final class Deactivator {
	/**
	 * Remove only schedules and locks.
	 *
	 * @return void
	 */
	public static function deactivate() {
		OwnershipRegistry::register_base();
		OwnershipRegistry::unschedule( 'base' );
		OwnershipRegistry::unschedule( 'optional' );
		delete_option( 'voidpulse_refresh_lock' );
	}
}
