Skip to content

Commit

Permalink
cloud: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Sep 18, 2024
1 parent 4892b72 commit 979c430
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plugins/cloud/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,6 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings,
devices: [],
});

this.storageSettings.settings.register.onPut = async () => {
await this.sendRegistrationId(await this.manager.registrationId);
}

this.storageSettings.settings.upnpStatus.onGet = async () => {
return {
hide: this.storageSettings.values.forwardingMode !== 'UPNP',
Expand Down Expand Up @@ -313,11 +309,6 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings,
};


this.storageSettings.settings.securePort.onPut = (ov, nv) => {
if (ov && ov !== nv)
this.log.a('Reload the Scrypted Cloud Plugin to apply the port change.');
};

if (!this.storageSettings.values.certificate)
this.storageSettings.values.certificate = createSelfSignedCertificate();

Expand Down

0 comments on commit 979c430

Please sign in to comment.