Remove old bulk actions MS sites code.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-04-06 18:17:21 +00:00
parent a7f987c35a
commit 8ac9523cb0
2 changed files with 0 additions and 28 deletions

View File

@ -430,28 +430,6 @@ switch ( $_GET['action'] ) {
exit();
break;
case 'matureblog':
check_admin_referer( 'matureblog' );
if ( ! current_user_can( 'manage_sites' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
update_blog_status( $id, 'mature', '1' );
do_action( 'mature_blog', $id );
wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => 'mature' ), wp_get_referer() ) );
exit();
break;
case 'unmatureblog':
check_admin_referer( 'unmatureblog' );
if ( ! current_user_can( 'manage_sites' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
update_blog_status( $id, 'mature', '0' );
do_action( 'unmature_blog', $id );
wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => 'unmature' ), wp_get_referer() ) );
exit();
break;
// Themes
case 'updatethemes':
if ( ! current_user_can( 'manage_network_themes' ) )

View File

@ -62,12 +62,6 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['
case 'spam':
_e( 'Site marked as spam.' );
break;
case 'unmature':
_e( 'Site marked as not mature.' );
break;
case 'mature':
_e( 'Site marked as mature.' );
break;
default:
_e( 'Settings saved.' );
break;