<?php

namespace MovieEngine\Core;

if (! defined("ABSPATH")) {
    exit; // Exit if accessed directly
}

class Deactivator {

    public static function deactivate() {
        flush_rewrite_rules();
        CronCleanup::cleanup_orphaned_crons();
        CronManager::unschedule_cleanup();
    }
}
