Bug 273311 Deleting an account/identity/server also deletes some higher numbered accounts/identities/servers p=t.bugz@lament.cjb.net r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@169373 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -475,6 +475,7 @@ nsMsgAccount::ClearAllValues()
|
||||
nsresult rv;
|
||||
nsCAutoString rootPref("mail.account.");
|
||||
rootPref += m_accountKey;
|
||||
rootPref += '.';
|
||||
|
||||
rv = getPrefService();
|
||||
if (NS_FAILED(rv))
|
||||
|
||||
@@ -436,6 +436,7 @@ nsMsgIdentity::ClearAllValues()
|
||||
|
||||
nsCAutoString rootPref("mail.identity.");
|
||||
rootPref += m_identityKey;
|
||||
rootPref += '.';
|
||||
|
||||
PRUint32 childCount;
|
||||
char** childArray;
|
||||
|
||||
@@ -1127,6 +1127,7 @@ nsMsgIncomingServer::ClearAllValues()
|
||||
{
|
||||
nsCAutoString rootPref("mail.server.");
|
||||
rootPref += m_serverKey;
|
||||
rootPref += '.';
|
||||
|
||||
PRUint32 childCount;
|
||||
char** childArray;
|
||||
|
||||
Reference in New Issue
Block a user