Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Remove registered function that the content worker wasn't using
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Feb 24, 2017
1 parent 4e6be26 commit 7add195
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions webextension/background/auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* globals chrome */
/* globals main, makeUuid, deviceInfo, analytics, communication */
/* globals main, makeUuid, deviceInfo, analytics */

window.auth = (function () {
let exports = {};
Expand Down Expand Up @@ -111,15 +111,6 @@ window.auth = (function () {
return s.join("&");
}

communication.register("requestConfiguration", () => {
return {
backend: main.getBackend(),
deviceId: registrationInfo.deviceId,
deviceInfo: registrationInfo.deviceInfo,
secret: registrationInfo.secret
};
});

exports.getDeviceId = function () {
return registrationInfo.deviceId;
};
Expand Down

0 comments on commit 7add195

Please sign in to comment.