remove unused observer service getter
authorDan Mills <thunder@mozilla.com>
Thu, 26 Feb 2009 13:52:12 -0800
changeset 45300 b5561e413cc1d9d18f42bb86e162002ec0762f30
parent 45299 da99923082c1b0f13e97e4776446999289cefdd7
child 45301 1dd7f696867470d55edb98aa5eda3be59926e6e1
push idunknown
push userunknown
push dateunknown
remove unused observer service getter
services/sync/modules/engines.js
--- a/services/sync/modules/engines.js
+++ b/services/sync/modules/engines.js
@@ -107,23 +107,16 @@ Engine.prototype = {
   // _storeObj, and _trackerObj should to be overridden in subclasses
 
   _storeObj: Store,
   _trackerObj: Tracker,
 
   get enabled() Utils.prefs.getBoolPref("engine." + this.name),
   get score() this._tracker.score,
 
-  get _os() {
-    let os = Cc["@mozilla.org/observer-service;1"].
-      getService(Ci.nsIObserverService);
-    this.__defineGetter__("_os", function() os);
-    return os;
-  },
-
   get _store() {
     let store = new this._storeObj();
     this.__defineGetter__("_store", function() store);
     return store;
   },
 
   get _tracker() {
     let tracker = new this._trackerObj();