From 28b01a0d0e02d0808ac8dc4ece8373b6102fb4e9 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 13 Jul 2022 10:48:50 -0400 Subject: [PATCH] UI: Remove superseded calls to remove PBA files These calls were made unnecessary by 826d409d. --- .../cc/ui/src/components/pages/ConfigurePage.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index 154eff52c..dab45313e 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -233,17 +233,9 @@ class ConfigurePageComponent extends AuthComponent { this.updateConfig(); this.props.onStatusChange(); } - ).then(() => { - this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows) - this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux) - }); + ); }; - removePBAfile(apiEndpoint, setFilenameFnc) { - this.sendPbaRemoveRequest(apiEndpoint) - setFilenameFnc('') - } - sendPbaRemoveRequest(apiEndpoint) { let request_options = { method: 'DELETE',