Remove unused/non-functional code with old-style CSRF checking. see #16499

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-02-03 07:23:17 +00:00
parent a815c789d7
commit 286f033442
1 changed files with 0 additions and 8 deletions

View File

@ -97,14 +97,6 @@ if ( is_multisite() && IS_PROFILE_PAGE && isset( $_GET[ 'newuseremail' ] ) && $c
} }
switch ($action) { switch ($action) {
case 'switchposts':
check_admin_referer();
/* TODO: Switch all posts from one user to another user */
break;
case 'update': case 'update':
check_admin_referer('update-user_' . $user_id); check_admin_referer('update-user_' . $user_id);