Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Actually remove Brave software links from history
Browse files Browse the repository at this point in the history
Somehow this commit got lost from #7692

Auditors: @bsclifton @bradleyrichter

Test Plan:
1. open new instance of brave
2. type facebook in urlbar
3. should autocomplete to facebook.com, not facebook.com/bravesoftware
  • Loading branch information
diracdeltas committed Mar 14, 2017
1 parent 981249a commit 3ef5da3
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions app/sessionStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,6 @@ const getSetting = require('../js/settings').getSetting
const promisify = require('../js/lib/promisify')
const sessionStorageName = `session-store-${sessionStorageVersion}`

const getTopSiteMap = () => {
if (Array.isArray(topSites) && topSites.length) {
let siteMap = {}
let order = 0
topSites.forEach((site) => {
let key = siteUtil.getSiteKey(Immutable.fromJS(site))
site.order = order++
siteMap[key] = site
})
return siteMap
}
return {}
}

const getStoragePath = () => {
return path.join(app.getPath('userData'), sessionStorageName)
}
Expand Down Expand Up @@ -524,7 +510,7 @@ module.exports.defaultAppState = () => {
sync: {
lastFetchTimestamp: 0
},
sites: getTopSiteMap(),
sites: {},
tabs: [],
windows: [],
extensions: {},
Expand Down

1 comment on commit 3ef5da3

@bsclifton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was my bad- I believe I rebased after adding a commit and dropped the first commit instead of squashing it (doh ☹️ )

Please sign in to comment.