Skip to content

Commit

Permalink
Merge pull request #1409 from nextcloud/backport/1387/stable-2.18
Browse files Browse the repository at this point in the history
[stable-2.18] Bugfix Delete Cached Nextcloud Client For Account Removal
  • Loading branch information
tobiasKaminsky authored Mar 25, 2024
2 parents a451e53 + 1190462 commit 49a3cbc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ public OwnCloudClient removeClientFor(OwnCloudAccount account) {
String accountName = account.getName();
if (accountName != null) {
client = mClientsWithKnownUsername.remove(accountName);
clientsNewWithKnownUsername.remove(accountName);
if (client != null) {
if (Log.isLoggable(TAG, Log.VERBOSE)) {
Log_OC.v(TAG, "Removed client for account " + accountName);
Expand Down

0 comments on commit 49a3cbc

Please sign in to comment.