aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorAlexander Tkachev2019-07-15 17:32:10 +0700
committerMatan Bareket2019-07-30 14:51:41 -0400
commitfaa19c7bf097e6a7f1f76c29b0faba12d5781d19 (patch)
tree0e1c90edc1582c457f59e3052f5ae87cb5e11844 /backends/cloud
parent2a56328d358307ae629c44d10e1f4a2ea8198672 (diff)
downloadscummvm-rg350-faa19c7bf097e6a7f1f76c29b0faba12d5781d19.tar.gz
scummvm-rg350-faa19c7bf097e6a7f1f76c29b0faba12d5781d19.tar.bz2
scummvm-rg350-faa19c7bf097e6a7f1f76c29b0faba12d5781d19.zip
CLOUD: Cleanup a little bit - remove unused config keys usage
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/dropbox/dropboxstorage.cpp1
-rw-r--r--backends/cloud/googledrive/googledrivestorage.cpp1
-rw-r--r--backends/cloud/onedrive/onedrivestorage.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.cpp b/backends/cloud/dropbox/dropboxstorage.cpp
index 44ad9a1efa..63c21fb5db 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -85,7 +85,6 @@ void DropboxStorage::codeFlowComplete(Networking::JsonResponse response) {
CloudMan.removeStorage(this);
} else {
_token = result.getVal("access_token")->asString();
- ConfMan.removeKey("dropbox_code", ConfMan.kCloudDomain);
CloudMan.replaceStorage(this, kStorageDropboxId);
ConfMan.flushToDisk();
}
diff --git a/backends/cloud/googledrive/googledrivestorage.cpp b/backends/cloud/googledrive/googledrivestorage.cpp
index 8bd9228714..51799eb384 100644
--- a/backends/cloud/googledrive/googledrivestorage.cpp
+++ b/backends/cloud/googledrive/googledrivestorage.cpp
@@ -154,7 +154,6 @@ void GoogleDriveStorage::codeFlowComplete(BoolResponse response) {
return;
}
- ConfMan.removeKey("googledrive_code", ConfMan.kCloudDomain);
CloudMan.replaceStorage(this, kStorageGoogleDriveId);
ConfMan.flushToDisk();
}
diff --git a/backends/cloud/onedrive/onedrivestorage.cpp b/backends/cloud/onedrive/onedrivestorage.cpp
index 396370e23f..af8c70f845 100644
--- a/backends/cloud/onedrive/onedrivestorage.cpp
+++ b/backends/cloud/onedrive/onedrivestorage.cpp
@@ -154,7 +154,6 @@ void OneDriveStorage::codeFlowComplete(BoolResponse response) {
return;
}
- ConfMan.removeKey("onedrive_code", ConfMan.kCloudDomain);
CloudMan.replaceStorage(this, kStorageOneDriveId);
ConfMan.flushToDisk();
}