Changeset 727864
- Timestamp:
- 06/18/2013 11:18:07 AM (13 years ago)
- File:
-
- 1 edited
-
wponlinebackup/trunk/include/tables.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wponlinebackup/trunk/include/tables.php
r724954 r727864 30 30 31 31 // 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]+_'; 34 33 35 34 $this->db_prefix = $wpdb->prefix; … … 51 50 /*private*/ function _Fetch_Tables() 52 51 { 53 $multisite = $this->WPOnlineBackup->multisite;54 55 52 // Grab core table list and append prefixes 56 53 $core_list = $this->WPOnlineBackup->Get_Setting( 'core_tables' ); … … 70 67 $core_list[] = $this->db_prefix . $table; 71 68 72 if ( $multisite ) 73 $site_list[ $key ] = $this->db_prefix . $table; 69 $site_list[ $key ] = $this->db_prefix . $table; 74 70 75 71 } … … 604 600 } else if ( $this->job['table'] == $this->db_prefix . 'options' ) { 605 601 606 // Remove this option s- it will trigger our tables to be created on restore602 // Remove this option - it will trigger our tables to be created on restore 607 603 $where[] = '`option_name` <> \'wponlinebackup_check_tables\''; 608 604
Note: See TracChangeset
for help on using the changeset viewer.