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:
neil%parkwaycc.co.uk 2004-04-30 20:15:05 +00:00
parent cd9bf18eaf
commit ea7ad28085

View File

@ -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);