mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
log backups disabled
This commit is contained in:
@@ -64,12 +64,14 @@ async function checkBackupRequired(type) {
|
|||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (type === "weekly") {
|
||||||
if (lastBackupDate + MS_WEEK < now) {
|
if (lastBackupDate + MS_WEEK < now) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
false;
|
false;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
console.log("Backups are disabled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user