diff --git a/netwerk/protocol/http/src/nsHttpHandler.cpp b/netwerk/protocol/http/src/nsHttpHandler.cpp index b93dfaee797..b4114fab203 100644 --- a/netwerk/protocol/http/src/nsHttpHandler.cpp +++ b/netwerk/protocol/http/src/nsHttpHandler.cpp @@ -281,7 +281,6 @@ nsHttpHandler::Init() if (mObserverService) { mObserverService->AddObserver(this, "profile-change-net-teardown", PR_TRUE); mObserverService->AddObserver(this, "profile-change-net-restore", PR_TRUE); - mObserverService->AddObserver(this, "session-logout", PR_TRUE); mObserverService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_TRUE); } @@ -1710,14 +1709,6 @@ nsHttpHandler::Observe(nsISupports *subject, // depend on this value. mSessionStartTime = NowInSeconds(); } - else if (strcmp(topic, "session-logout") == 0) { - // clear cache of all authentication credentials. - mAuthCache.ClearAll(); - - // need to reset the session start time since cache validation may - // depend on this value. - mSessionStartTime = NowInSeconds(); - } else if (strcmp(topic, "profile-change-net-restore") == 0) { // initialize connection manager InitConnectionMgr();