From 979c430303cfb46a88ea71864f917b4a00a96ec0 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 18 Sep 2024 08:47:51 -0700 Subject: [PATCH] cloud: remove dead code --- plugins/cloud/src/main.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/cloud/src/main.ts b/plugins/cloud/src/main.ts index 0c8c7cfbda..2b803da580 100644 --- a/plugins/cloud/src/main.ts +++ b/plugins/cloud/src/main.ts @@ -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', @@ -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();