remove redundant code

Original commit: elastic/x-pack-elasticsearch@d61cb5554c
This commit is contained in:
Areek Zillur 2014-10-08 23:26:50 -04:00
parent d7ec84afd7
commit 90466deb0c
1 changed files with 0 additions and 5 deletions

View File

@ -56,11 +56,6 @@ public class TransportDeleteLicenseAction extends TransportMasterNodeOperationAc
@Override
protected void masterOperation(final DeleteLicenseRequest request, ClusterState state, final ActionListener<DeleteLicenseResponse> listener) throws ElasticsearchException {
MetaData metaData = state.metaData();
LicensesMetaData licenses = metaData.custom(LicensesMetaData.TYPE);
//listener.onResponse(new DeleteLicenseResponse(licenses));
//TODO:: add features of the license to be deleted
licensesService.unregisteredLicenses("delete_licenses []", request, new ActionListener<ClusterStateUpdateResponse>() {
@Override
public void onResponse(ClusterStateUpdateResponse clusterStateUpdateResponse) {