Backout bug 522842 (2858cd90d03)

This commit is contained in:
Ryan Flint 2010-02-25 00:35:37 -05:00
parent 335b9d7446
commit 6179f28581

View File

@ -717,12 +717,9 @@ function getMozParamPref(prefName)
*
* @see nsIBrowserSearchService.idl
*/
let gEnginesLoaded = false;
function notifyAction(aEngine, aVerb) {
if (gEnginesLoaded) {
LOG("NOTIFY: Engine: \"" + aEngine.name + "\"; Verb: \"" + aVerb + "\"");
gObsSvc.notifyObservers(aEngine, SEARCH_ENGINE_TOPIC, aVerb);
}
LOG("NOTIFY: Engine: \"" + aEngine.name + "\"; Verb: \"" + aVerb + "\"");
gObsSvc.notifyObservers(aEngine, SEARCH_ENGINE_TOPIC, aVerb);
}
/**
@ -2637,8 +2634,6 @@ SearchService.prototype = {
for each (let dir in cache.directories)
this._loadEnginesFromCache(dir);
gEnginesLoaded = true;
},
_readCacheFile: function SRCH_SVC__readCacheFile(aFile) {