diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Recipe.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index a171a288a..6911f7301 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -21,7 +21,6 @@ interface RecipeData { | |||
21 | urlInputPrefix?: string; | 21 | urlInputPrefix?: string; |
22 | urlInputSuffix?: string; | 22 | urlInputSuffix?: string; |
23 | disablewebsecurity?: boolean; | 23 | disablewebsecurity?: boolean; |
24 | autoHibernate?: boolean; | ||
25 | partition?: string; | 24 | partition?: string; |
26 | local?: boolean; | 25 | local?: boolean; |
27 | message?: string; | 26 | message?: string; |
@@ -47,7 +46,6 @@ export interface IRecipe { | |||
47 | message: string; | 46 | message: string; |
48 | allowFavoritesDelineationInUnreadCount: boolean; | 47 | allowFavoritesDelineationInUnreadCount: boolean; |
49 | disablewebsecurity: boolean; | 48 | disablewebsecurity: boolean; |
50 | autoHibernate: boolean; | ||
51 | path: string; | 49 | path: string; |
52 | partition: string; | 50 | partition: string; |
53 | local: boolean; | 51 | local: boolean; |
@@ -97,9 +95,6 @@ export default class Recipe implements IRecipe { | |||
97 | 95 | ||
98 | disablewebsecurity = DEFAULT_SERVICE_SETTINGS.disablewebsecurity; | 96 | disablewebsecurity = DEFAULT_SERVICE_SETTINGS.disablewebsecurity; |
99 | 97 | ||
100 | // TODO: Is this even used? | ||
101 | autoHibernate = DEFAULT_SERVICE_SETTINGS.autoHibernate; | ||
102 | |||
103 | path = ''; | 98 | path = ''; |
104 | 99 | ||
105 | partition = ''; | 100 | partition = ''; |
@@ -169,10 +164,6 @@ export default class Recipe implements IRecipe { | |||
169 | data.config.disablewebsecurity, | 164 | data.config.disablewebsecurity, |
170 | this.disablewebsecurity, | 165 | this.disablewebsecurity, |
171 | ); | 166 | ); |
172 | this.autoHibernate = ifUndefined<boolean>( | ||
173 | data.config.autoHibernate, | ||
174 | this.autoHibernate, | ||
175 | ); | ||
176 | this.local = ifUndefined<boolean>(data.config.local, this.local); | 167 | this.local = ifUndefined<boolean>(data.config.local, this.local); |
177 | this.message = ifUndefined<string>(data.config.message, this.message); | 168 | this.message = ifUndefined<string>(data.config.message, this.message); |
178 | this.allowFavoritesDelineationInUnreadCount = ifUndefined<boolean>( | 169 | this.allowFavoritesDelineationInUnreadCount = ifUndefined<boolean>( |