XPressME Integration Kit

Trac

Changeset 774 for branches


Ignore:
Timestamp:
May 24, 2011, 10:05:39 AM (14 years ago)
Author:
toemon
Message:

remove r773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.5/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php

    r773 r774  
    2929 */ 
    3030function update_xpress($from, $to) { 
    31         global $wp_filesystem, $_old_xpress_files, $wpdb, $modInfo; 
     31        global $wp_filesystem, $_old_xpress_files, $wpdb; 
    3232        show_message( __('Disable overwrite of wp-config.php...', 'xpressme') ); 
    33          
    34         $mod_ver = $modInfo->get_module_version(); 
    35         // Rewrite wp-config.php when update it to Ver.3 from Ver.2.  
    36         if (version_compare($mod_ver, '3.0', '>=')){ 
    37             if (file_exists($wp_version_file)){ 
    38                 include $wp_version_file; 
    39                 $now_virsion = str_replace("ME", "", $wp_version); 
    40             } 
    41         } 
    4233        // remove wp-config.php from the new version into place. 
    4334        $wp_config = $from . 'wp-config.php'; 
Note: See TracChangeset for help on using the changeset viewer.