mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
Followup cleanup to bug 242098 (which is what I should have checked in with my patch for bug 226270 in the first place) r=mscott sr=bienvenu
This commit is contained in:
parent
cd9bf18eaf
commit
ea7ad28085
@ -66,7 +66,6 @@ var gDataSourceSearchListener;
|
||||
var gViewSearchListener;
|
||||
|
||||
var gSearchStopButton;
|
||||
var gSearchSessionFolderListener;
|
||||
var gMailSession;
|
||||
|
||||
// Controller object for search results thread pane
|
||||
@ -522,7 +521,6 @@ function setupDatasource() {
|
||||
gSearchSession = Components.classes[searchSessionContractID].createInstance(Components.interfaces.nsIMsgSearchSession);
|
||||
|
||||
gMailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);
|
||||
gSearchSessionFolderListener = gMailSession.QueryInterface(Components.interfaces.nsIFolderListener);
|
||||
var nsIFolderListener = Components.interfaces.nsIFolderListener;
|
||||
var notifyFlags = nsIFolderListener.event;
|
||||
gMailSession.AddFolderListener(gFolderListener, notifyFlags);
|
||||
|
Loading…
Reference in New Issue
Block a user