зеркало из https://github.com/mozilla/pjs.git
fix regression downloading pop3 mail on startup introduced by fixing js warning, 270343, sr=mscott
This commit is contained in:
Родитель
d4eb3b2655
Коммит
9e2b3dc4f2
|
@ -776,14 +776,6 @@ function MsgGetMessagesForAllServers(defaultServer)
|
|||
var currentServer = allServers.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgIncomingServer);
|
||||
var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + currentServer.type].getService(Components.interfaces.nsIMsgProtocolInfo);
|
||||
if (protocolinfo.canLoginAtStartUp && currentServer.loginAtStartUp)
|
||||
{
|
||||
if (defaultServer && defaultServer.equals(currentServer) &&
|
||||
!defaultServer.isDeferredTo &&
|
||||
defaultServer.rootFolder == defaultServer.rootMsgFolder)
|
||||
{
|
||||
dump(currentServer.serverURI + "...skipping, already opened\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (currentServer.type == "pop3" && currentServer.downloadOnBiff)
|
||||
{
|
||||
|
@ -795,7 +787,6 @@ function MsgGetMessagesForAllServers(defaultServer)
|
|||
currentServer.PerformBiff(msgWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var i = 0; i < pop3DownloadServersArray.length; i++)
|
||||
{
|
||||
// any ol' pop3Server will do - the serversArray specifies which servers to download from
|
||||
|
|
|
@ -745,14 +745,6 @@ function MsgGetMessagesForAllServers(defaultServer)
|
|||
var currentServer = allServers.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgIncomingServer);
|
||||
var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + currentServer.type].getService(Components.interfaces.nsIMsgProtocolInfo);
|
||||
if (protocolinfo.canLoginAtStartUp && currentServer.loginAtStartUp)
|
||||
{
|
||||
if (defaultServer && defaultServer.equals(currentServer) &&
|
||||
!defaultServer.isDeferredTo &&
|
||||
defaultServer.rootFolder == defaultServer.rootMsgFolder)
|
||||
{
|
||||
dump(currentServer.serverURI + "...skipping, already opened\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (currentServer.type == "pop3" && currentServer.downloadOnBiff)
|
||||
{
|
||||
|
@ -764,7 +756,6 @@ function MsgGetMessagesForAllServers(defaultServer)
|
|||
currentServer.PerformBiff(msgWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (i = 0; i < pop3DownloadServersArray.length; ++i)
|
||||
{
|
||||
// any ol' pop3Server will do - the serversArray specifies which servers to download from
|
||||
|
|
Загрузка…
Ссылка в новой задаче