Plugin Directory

Changeset 2603304


Ignore:
Timestamp:
09/23/2021 12:16:49 AM (5 years ago)
Author:
inksplat
Message:

Remove deactivation file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • comicbookmanagementsystem/trunk/ComicBookManagementSystem.php

    r2603303 r2603304  
    140140    error_log("$cbms_db_version " . $cbms_db_version);
    141141   
    142     if ( get_site_option( 'cbms_db_version' ) == '' )
    143       {
    144         if ( get_site_option( 'cbms_db_version' ) != $cbms_db_version ) {
    145        
    146             error_log('Call Activation');
    147        
    148             cbms_activate();
    149         }
    150       }
    151     else
    152       {
    153         cbms_activate();
    154       }
     142    if ( get_site_option( 'cbms_db_version' ) != $cbms_db_version ) {
     143        error_log('Call Activation');
     144        cbms_activate();
     145    }
     146
    155147}
    156148add_action( 'plugins_loaded', 'cbms_update_db_check' );
Note: See TracChangeset for help on using the changeset viewer.