Plugin Directory

Changeset 727864


Ignore:
Timestamp:
06/18/2013 11:18:07 AM (13 years ago)
Author:
Driskell
Message:

Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wponlinebackup/trunk/include/tables.php

    r724954 r727864  
    3030
    3131        // Cache multisite regex stuff - the regex must end in # since we use that in the code that references it
    32         if ( $WPOnlineBackup->multisite )
    33             $this->multisite_prefix_regex = '#^(' . preg_quote( $db_prefix, '#' ) . ')[0-9]+_';
     32        $this->multisite_prefix_regex = '#^(' . preg_quote( $db_prefix, '#' ) . ')[0-9]+_';
    3433
    3534        $this->db_prefix = $wpdb->prefix;
     
    5150    /*private*/ function _Fetch_Tables()
    5251    {
    53         $multisite = $this->WPOnlineBackup->multisite;
    54 
    5552        // Grab core table list and append prefixes
    5653        $core_list = $this->WPOnlineBackup->Get_Setting( 'core_tables' );
     
    7067            $core_list[] = $this->db_prefix . $table;
    7168
    72             if ( $multisite )
    73                 $site_list[ $key ] = $this->db_prefix . $table;
     69            $site_list[ $key ] = $this->db_prefix . $table;
    7470
    7571        }
     
    604600            } else if ( $this->job['table'] == $this->db_prefix . 'options' ) {
    605601
    606                 // Remove this options - it will trigger our tables to be created on restore
     602                // Remove this option - it will trigger our tables to be created on restore
    607603                $where[] = '`option_name` <> \'wponlinebackup_check_tables\'';
    608604
Note: See TracChangeset for help on using the changeset viewer.