Don't use deprecated arguments. props PeteMall, see #15605.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-01-13 08:39:26 +00:00
parent 4920e7a54f
commit 53f10213b6
1 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@ switch ( $_GET['action'] ) {
if ( $details->userblog_id != $current_site->blog_id ) // main blog not a spam !
update_blog_status( $details->userblog_id, 'spam', '1' );
}
update_user_status( $val, 'spam', '1', 1 );
update_user_status( $val, 'spam', '1' );
break;
case 'notspam':
@ -419,7 +419,7 @@ switch ( $_GET['action'] ) {
foreach ( (array) $blogs as $key => $details )
update_blog_status( $details->userblog_id, 'spam', '0' );
update_user_status( $val, 'spam', '0', 1 );
update_user_status( $val, 'spam', '0' );
break;
}
}