зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c0c8d854a3
Коммит
e8fc2af056
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче