From b9aac4a404601952214f9b4e69b4de58270384ed Mon Sep 17 00:00:00 2001 From: addison Date: Fri, 5 Nov 2021 11:40:39 -0400 Subject: [PATCH] [refactor] Remove some unused getters from the account model --- common/src/models/domain/account.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/src/models/domain/account.ts b/common/src/models/domain/account.ts index ef651860..4cd755de 100644 --- a/common/src/models/domain/account.ts +++ b/common/src/models/domain/account.ts @@ -182,14 +182,5 @@ export class Account { return false; } - - private get hasMasterKey(): boolean { - return this.cryptoMasterKey != null; - } - - private get isActive(): boolean { - const diffSeconds = ((new Date()).getTime() - this.lastActive) / 1000; - return diffSeconds < (this.vaultTimeout * 60); - } }