WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/04/2010 06:50:36 PM (11 years ago)
Author:
ryan
Message:

Sitewide plugins cleanup. Props nacin. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r12933 r12947  
    10991099 */
    11001100function upgrade_network() {
     1101    global $wp_current_db_version;
    11011102    // 2.8
    11021103    if ( $wp_current_db_version < 11549 ) {
     
    11111112            update_site_option( 'active_sitewide_plugins', $sitewide_plugins );
    11121113        }
    1113         update_site_option( 'wpmu_sitewide_plugins', '' );
    1114         update_site_option( 'deactivated_sitewide_plugins', '' );
     1114        delete_site_option( 'wpmu_sitewide_plugins' );
     1115        delete_site_option( 'deactivated_sitewide_plugins' );
    11151116    }
    11161117}
Note: See TracChangeset for help on using the changeset viewer.