Changeset 8585
- Timestamp:
- 07/10/2014 08:03:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-functions.php
r8584 r8585 72 72 global $bp, $wpdb; 73 73 74 // Truncate user blogs table and re-record.75 $wpdb->query( "DELETE FROM {$bp->blogs->table_name} WHERE 1=1" );76 77 74 // Query for all sites in network 78 75 if ( is_multisite() ) { … … 96 93 return; 97 94 } 95 96 // Truncate user blogs table and re-record. 97 $wpdb->query( "TRUNCATE {$bp->blogs->table_name}" ); 98 $wpdb->query( "TRUNCATE {$bp->blogs->table_name_blogmeta}" ); 98 99 99 100 // Loop through users of blogs and record them
Note: See TracChangeset
for help on using the changeset viewer.