From: Christian Kamm Date: Thu, 14 Sep 2017 12:45:46 +0000 (+0200) Subject: HttpCreds: Remove migration code from 1.7 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~701^2~98 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4d2261420debc7d0c3c1dd00623060310ccf00dc;p=nextcloud-desktop.git HttpCreds: Remove migration code from 1.7 --- diff --git a/src/libsync/creds/httpcredentials.cpp b/src/libsync/creds/httpcredentials.cpp index 262ad9309..a183ff5fb 100644 --- a/src/libsync/creds/httpcredentials.cpp +++ b/src/libsync/creds/httpcredentials.cpp @@ -412,14 +412,6 @@ void HttpCredentials::invalidateToken() job->setKey(kck); job->start(); - // Also ensure the password is deleted from the deprecated place - // otherwise we'd possibly read and use it again and again. - DeletePasswordJob *job2 = new DeletePasswordJob(Theme::instance()->appName()); - // no job2->setSettings() call here, to make it use the deprecated location. - job2->setInsecureFallback(true); - job2->setKey(kck); - job2->start(); - // let QNAM forget about the password // This needs to be done later in the event loop because we might be called (directly or // indirectly) from QNetworkAccessManagerPrivate::authenticationRequired, which itself