Changeset 37654
- Timestamp:
- 06/08/2016 03:03:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/install.php
r36721 r37654 41 41 echo "Installing..." . PHP_EOL; 42 42 43 $wpdb->query( "SET foreign_key_checks = 0" ); 43 44 foreach ( $wpdb->tables() as $table => $prefixed_table ) { 44 45 $wpdb->query( "DROP TABLE IF EXISTS $prefixed_table" ); … … 52 53 $wpdb->$table = $prefixed_table; 53 54 } 55 $wpdb->query( "SET foreign_key_checks = 1" ); 54 56 55 57 // Prefill a permalink structure so that WP doesn't try to determine one itself.
Note: See TracChangeset
for help on using the changeset viewer.