Remove old bulk edit super admin code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad72910597
commit
8074b8036c
|
@ -548,16 +548,6 @@ switch ( $_GET['action'] ) {
|
|||
exit();
|
||||
break;
|
||||
|
||||
case 'superadmin':
|
||||
$userfunction = 'add_superadmin';
|
||||
grant_super_admin( $val );
|
||||
break;
|
||||
|
||||
case 'notsuperadmin':
|
||||
$userfunction = 'remove_superadmin';
|
||||
revoke_super_admin( $val );
|
||||
break;
|
||||
|
||||
case 'spam':
|
||||
$user = new WP_User( $val );
|
||||
if ( in_array( $user->user_login, get_site_option( 'site_admins', array( 'admin' ) ) ) )
|
||||
|
|
Loading…
Reference in New Issue