Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: remove trash duration fn

ammarahm-ed984bf1f15ffd
diff --git a/packages/core/collections/trash.js b/packages/core/collections/trash.js
index 7ef91aab1..fb4324aa5 100644
--- a/packages/core/collections/trash.js
+++ b/packages/core/collections/trash.js
@@ -147,16 +147,3 @@ function collectionNameFromItem(item) {
return null;
}
}
-
-function trashDuration(option) {
- switch (option) {
- case 0:
- return 7;
- case 1:
- return 30;
- case 2:
- return 365;
- case 3:
- return false;
- }
-}