Revert new LJ importer. see #8999

git-svn-id: http://svn.automattic.com/wordpress/trunk@10500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-02-04 17:49:11 +00:00
parent c60bd16ec2
commit bda801308b
1 changed files with 0 additions and 13 deletions

View File

@ -1157,19 +1157,6 @@ case 'find_posts':
));
$x->send();
break;
case 'lj-importer' :
check_ajax_referer( 'lj-api-import' );
if ( !current_user_can( 'publish_posts' ) )
die('-1');
if ( empty( $_POST['step'] ) )
die( '-1' );
include( ABSPATH . 'wp-admin/import/livejournal.php' );
$result = $lj_api_import->{ 'step' . ( (int) $_POST['step'] ) }();
if ( is_wp_error( $result ) )
echo $result->get_error_message();
die;
break;
default :
do_action( 'wp_ajax_' . $_POST['action'] );