Closed
Bug 889031
Opened 12 years ago
Closed 12 years ago
remove some obsolete code from comm-central
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 25.0
People
(Reporter: aceman, Assigned: aceman)
Details
(Keywords: addon-compat)
Attachments
(1 file, 1 obsolete file)
|
13.57 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
There is some code marked obsolete/deprecated with no in-tree users. Let's try to remove it now that TB24 is branched.
Also update some PRInt32 -> int32 types and such stuff.
Attachment #769813 -
Flags: review?(neil)
Attachment #769813 -
Flags: review?(mkmelin+mozilla)
Attachment #769813 -
Flags: review?(iann_bugzilla)
Comment 2•12 years ago
|
||
Comment on attachment 769813 [details] [diff] [review]
patch
>- return GetAsciiHeader(MSG_TEMPORARY_FILES_HEADER_ID);
>- }
>+ const char* GetAttachments() {return GetAsciiHeader(MSG_ATTACHMENTS_HEADER_ID);}
This isn't used; neither are either of the enum values, so they can all go. r=me with that fixed based on code inspection.
>- // make sure the oid of the table is 1.
>- struct mdbOid folderInfoTableOID;
>- folderInfoTableOID.mOid_Id = 1;
>- folderInfoTableOID.mOid_Scope = m_rowScopeToken;
I scoured CVS history, this variable was used for about the first 100 hours of March 1999 before being commented out (and later deleted, but sadly not the declaration).
Attachment #769813 -
Flags: review?(neil) → review+
Ok, thanks.
Attachment #769813 -
Attachment is obsolete: true
Attachment #769813 -
Flags: review?(mkmelin+mozilla)
Attachment #769813 -
Flags: review?(iann_bugzilla)
Attachment #770447 -
Flags: review?(mkmelin+mozilla)
Attachment #770447 -
Flags: review?(iann_bugzilla)
Comment 4•12 years ago
|
||
Comment on attachment 770447 [details] [diff] [review]
patch v2
Review of attachment 770447 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, r=mkmelin
Attachment #770447 -
Flags: review?(mkmelin+mozilla) → review+
Marking addon-compat as some addons may have been using the removed functions. But I intentionally did this after TB24 branched so they have time until TB31 to update.
Keywords: addon-compat,
checkin-needed
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 25.0
Comment on attachment 770447 [details] [diff] [review]
patch v2
Neil already gave it an r+ (plus it has landed), so removing the request
Attachment #770447 -
Flags: review?(iann_bugzilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•