UI: Remove superseded calls to remove PBA files
These calls were made unnecessary by 826d409d
.
This commit is contained in:
parent
33e68979d9
commit
28b01a0d0e
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue