Don't violate foreign key constraints on plugin removal
This commit is contained in:
parent
47ef0ed10f
commit
5490ccf219
@ -315,10 +315,12 @@ function purge_all_data() {
|
||||
{$pfx}pterotype_blocks, {$pfx}pterotype_shares,
|
||||
{$pfx}pterotype_following, {$pfx}pterotype_followers,
|
||||
{$pfx}pterotype_actor_likes, {$pfx}pterotype_object_likes,
|
||||
{$pfx}pterotype_outbox, {$pfx}pterotype_inbox,
|
||||
{$pfx}pterotype_objects, {$pfx}pterotype_actors
|
||||
{$pfx}pterotype_outbox, {$pfx}pterotype_inbox
|
||||
"
|
||||
) );
|
||||
$wpdb->query( $wpdb->prepare(
|
||||
"DROP TABLE {$pfx}pterotype_objects, {$pfx}pterotype_actors"
|
||||
) );
|
||||
\delete_option( 'pterotype_previously_migrated_version' );
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user