function applyIncoming(record) {
    // The fields we look at aren't present when the record is deleted.
    if (!record.deleted) {
      // Ignore records not belonging to our application ID because that is the
      // current policy.
      if (record.applicationID != Services.appinfo.ID) {
        this._log.info("Ignoring incoming record from other App ID: " +
                        record.id);
        return;
      }

      // Ignore records that aren't from the official add-on repository, as that
      // is our current policy.
      if (record.source != "amo") {
        this._log.info("Ignoring unknown add-on source (" + record.source + ")" +
                       " for " + record.id);
        return;
      }
    }

    Store.prototype.applyIncoming.call(this, record);
  }
/**
   * Override applyIncoming to filter out records we can't handle.
   */
Override applyIncoming to filter out records we can't handle.
Override applyIncoming to filter out records we can ' t handle .
function applyIncoming(record) {
    if (!record.deleted) {
      if (record.applicationID != Services.appinfo.ID) {
        this._log.info("Ignoring incoming record from other App ID: " +
                        record.id);
        return;
      }
      if (record.source != "amo") {
        this._log.info("Ignoring unknown add-on source (" + record.source + ")" +
                       " for " + record.id);
        return;
      }
    }
    Store.prototype.applyIncoming.call(this, record);
  }
function applyIncoming ( record ) { if ( ! record . deleted ) { if ( record . applicationID != Services . appinfo . ID ) { this . _log . info ( "Ignoring incoming record from other App ID: " + record . id ) ; return ; } if ( record . source != "amo" ) { this . _log . info ( "Ignoring unknown add-on source (" + record . source + ")" + " for " + record . id ) ; return ; } } Store . prototype . applyIncoming . call ( this , record ) ; }
Override applyIncoming to filter out records we can't handle.
Override applyIncoming to filter out records we can ' t handle .
// The fields we look at aren't present when the record is deleted. // Ignore records not belonging to our application ID because that is the // current policy. // Ignore records that aren't from the official add-on repository, as that // is our current policy.