Plugin Directory

Changeset 3248542


Ignore:
Timestamp:
02/28/2025 02:21:10 PM (13 months ago)
Author:
wpmobo
Message:

fixed login history db not update issue

Location:
admintosh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admintosh/tags/1.1.1/inc/Login_History.php

    r3248536 r3248542  
    1818        add_action('wp_logout', [ $this, 'logout_activity_track' ], 10, 2);
    1919
    20         if( get_option('admintosh_lh_database_table') != 'yes' ) {
     20        if( get_option('admintosh_lh_database_table') != 'yes_111' ) {
    2121            $this->create_database_table();
    2222        }
     
    138138        require_once ABSPATH . 'wp-admin/includes/upgrade.php';
    139139        dbDelta( $sql );
    140         update_option( 'admintosh_lh_database_table', 'yes' );
     140        update_option( 'admintosh_lh_database_table', 'yes_111' );
    141141    }
    142142
  • admintosh/trunk/inc/Login_History.php

    r3248536 r3248542  
    1818        add_action('wp_logout', [ $this, 'logout_activity_track' ], 10, 2);
    1919
    20         if( get_option('admintosh_lh_database_table') != 'yes' ) {
     20        if( get_option('admintosh_lh_database_table') != 'yes_111' ) {
    2121            $this->create_database_table();
    2222        }
     
    138138        require_once ABSPATH . 'wp-admin/includes/upgrade.php';
    139139        dbDelta( $sql );
    140         update_option( 'admintosh_lh_database_table', 'yes' );
     140        update_option( 'admintosh_lh_database_table', 'yes_111' );
    141141    }
    142142
Note: See TracChangeset for help on using the changeset viewer.