mirror of
https://github.com/zoriya/flood.git
synced 2025-12-19 13:45:15 +00:00
Ensure that only files belonging to torrent are deleted
This commit is contained in:
@@ -260,14 +260,6 @@ class ClientRequest {
|
||||
});
|
||||
}
|
||||
|
||||
removeTorrents(options) {
|
||||
let hashes = this.getEnsuredArray(options.hashes);
|
||||
|
||||
hashes.forEach((hash) => {
|
||||
this.requests.push(this.getMethodCall('d.erase', [hash]));
|
||||
});
|
||||
}
|
||||
|
||||
setDownloadPath(options) {
|
||||
let hashes = this.getEnsuredArray(options.hashes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user