Closed Bug 1597130 Opened 5 years ago Closed 5 years ago

MsgNewFolder seems unused

Categories

(Thunderbird :: Mail Window Front End, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 72.0

People

(Reporter: iannbugzilla, Assigned: aceman)

Details

Attachments

(1 file)

The callers for MsgNewFolder function in mailWindowOverlay.js were removed back in Bug 414038 but the function itself was left behind. Was it left for a reason (e.g. extension use) or forgotten?
If forgotten, then also the function getDestinationFolder could possibly removed as MsgNewFolder is the only caller of that function.

Care to do some clean-up here?

Flags: needinfo?(acelists)

Sure. Ian, do you mean the Thunderbird version of the function, as in Seamonkey it is still used?

Assignee: nobody → acelists
Flags: needinfo?(acelists)

(In reply to :aceman from comment #2)

Sure. Ian, do you mean the Thunderbird version of the function, as in Seamonkey it is still used?
Yes, just the TB version. SM version is still in use, currently.

Comment on attachment 9109782 [details] [diff] [review]
1597130.patch

I love deletions.
Attachment #9109782 - Flags: review?(jorgk) → review+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/f5bd174b047b
remove unused MsgNewFolder() in mail/base/content/mailWindowOverlay.js. r=jorgk

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 72.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: