HttpCreds: Remove migration code from 1.7
authorChristian Kamm <mail@ckamm.de>
Thu, 14 Sep 2017 12:45:46 +0000 (14:45 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:32 +0000 (22:01 +0200)
src/libsync/creds/httpcredentials.cpp

index 262ad9309c0821efc9794a0f59e205ca0a05f410..a183ff5fbcbd338a13a5165a7c153f69e3b2fe7e 100644 (file)
@@ -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