mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
105162 r=racham sr=mscott. Make download message size pref work for pop3 again. Remove unused pref.
This commit is contained in:
parent
649d237d34
commit
051a5a2256
@ -233,7 +233,6 @@ interface nsIMsgIncomingServer : nsISupports {
|
||||
|
||||
attribute boolean loginAtStartUp;
|
||||
|
||||
attribute boolean limitMessageSize;
|
||||
attribute boolean limitOfflineMessageSize;
|
||||
attribute long maxMessageSize;
|
||||
|
||||
|
@ -1507,10 +1507,6 @@ NS_IMPL_SERVERPREF_BOOL(nsMsgIncomingServer,
|
||||
CanFileMessagesOnServer,
|
||||
"canFileMessages");
|
||||
|
||||
NS_IMPL_SERVERPREF_BOOL(nsMsgIncomingServer,
|
||||
LimitMessageSize,
|
||||
"limit_message_size")
|
||||
|
||||
NS_IMPL_SERVERPREF_BOOL(nsMsgIncomingServer,
|
||||
LimitOfflineMessageSize,
|
||||
"limit_offline_message_size")
|
||||
|
@ -680,7 +680,7 @@ nsresult nsPop3Protocol::LoadUrl(nsIURI* aURL, nsISupports * /* aConsumer */)
|
||||
nsCOMPtr<nsIMsgIncomingServer> server = do_QueryInterface(m_pop3Server);
|
||||
if (server)
|
||||
{
|
||||
server->GetLimitMessageSize(&limitMessageSize);
|
||||
server->GetLimitOfflineMessageSize(&limitMessageSize);
|
||||
if (limitMessageSize)
|
||||
{
|
||||
PRInt32 max_size = 0;
|
||||
@ -1088,12 +1088,12 @@ PRInt32 nsPop3Protocol::SendStatOrGurl(PRBool sendStat)
|
||||
But if we're just checking for new mail (biff) then don't bother
|
||||
prompting the user for a password: just fail silently. */
|
||||
Error(POP3_PASSWORD_FAILURE);
|
||||
|
||||
|
||||
SetFlag(POP3_PASSWORD_FAILED);
|
||||
|
||||
// libmsg event sink
|
||||
if (m_nsIPop3Sink)
|
||||
{
|
||||
{
|
||||
m_nsIPop3Sink->SetUserAuthenticated(PR_FALSE);
|
||||
m_nsIPop3Sink->SetMailAccountURL(NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user