Remove unused attribute b=123029 r+sr=bienvenu

This commit is contained in:
neil%parkwaycc.co.uk 2006-09-05 11:44:47 +00:00
Родитель 09909beff7
Коммит 76b8f5df72
2 изменённых файлов: 1 добавлений и 23 удалений

Просмотреть файл

@ -70,7 +70,7 @@ typedef long nsMsgBiffState;
// enumerated type for determining if a message has been replied to, forwarded, etc.
typedef long nsMsgDispositionState;
[scriptable, uuid(5711cb97-42ad-466d-9e8f-48b84a8b76a2)]
[scriptable, uuid(cc921aaf-8ff1-4fd3-8a3d-1269bf87f459)]
interface nsIMsgFolder : nsICollection {
const nsMsgBiffState nsMsgBiffState_NewMail = 0; // User has new mail waiting.
@ -409,11 +409,6 @@ const nsMsgBiffState nsMsgBiffState_Unknown = 2; // We dunno whether there is ne
*/
attribute long sortOrder;
/**
* used to determine if we persist the close / open state of this folder or not
*/
[noscript]readonly attribute boolean persistElided;
/* handy accessor when we want a msg folder */
readonly attribute nsIMsgFolder parentMsgFolder;

Просмотреть файл

@ -1065,16 +1065,6 @@ NS_IMETHODIMP nsMsgDBFolder::ReadFromFolderCacheElem(nsIMsgFolderCacheElement *e
nsXPIDLCString charset;
element->GetInt32Property("flags", (PRInt32 *) &mFlags);
PRBool persistElided = PR_TRUE;
rv = GetPersistElided(&persistElided);
NS_ENSURE_SUCCESS(rv,rv);
// we aren't persisting elided, set the folder as closed
if (!persistElided) {
mFlags |= MSG_FOLDER_FLAG_ELIDED;
}
element->GetInt32Property("totalMsgs", &mNumTotalMessages);
element->GetInt32Property("totalUnreadMsgs", &mNumUnreadMessages);
element->GetInt32Property("pendingUnreadMsgs", &mNumPendingUnreadMessages);
@ -5074,13 +5064,6 @@ NS_IMETHODIMP nsMsgDBFolder::GetSortKey(PRUint8 **aKey, PRUint32 *aLength)
return CreateCollationKey(orderString, aKey, aLength);
}
NS_IMETHODIMP nsMsgDBFolder::GetPersistElided(PRBool *aPersistElided)
{
// by default, we should always persist the open / closed state of folders & servers
*aPersistElided = PR_TRUE;
return NS_OK;
}
nsresult
nsMsgDBFolder::CreateCollationKey(const nsString &aSource, PRUint8 **aKey, PRUint32 *aLength)
{