I'm sorry, this nothing to do with Blog!!! It deletes the account only and preserves the user content! I'm not sure how this
/* Permission check */
if ( !intval( \IPS\Request::i()->mid ) OR !\IPS\Member::loggedIn()->isAdmin() )
{
\IPS\Output::i()->error( 'no_module_permission', '2D161/B', 403, '' );
}
$member = \IPS\Member::load( \IPS\Request::i()->mid );
\IPS\Session::i()->modLog( 'request_accepted', array( $member->name => FALSE, $member->member_id => FALSE ) );
$member->delete();
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module=modcp&tab=delete_account", 'front', 'modcp_delete_account' ), 'deletion_done' );
can screw your blog.
I can't take a look now... still on a quick travel. I'll do when I can. Same for you PM.