mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
removed legacy entities and repository
This commit is contained in:
@@ -72,14 +72,6 @@ function reset() {
|
||||
clsHooked.reset();
|
||||
}
|
||||
|
||||
function getEntityFromCache(entityName, entityId) {
|
||||
return namespace.get(entityName + '-' + entityId);
|
||||
}
|
||||
|
||||
function setEntityToCache(entityName, entityId, entity) {
|
||||
namespace.set(entityName + '-' + entityId, entity);
|
||||
}
|
||||
|
||||
function ignoreEntityChanges() {
|
||||
namespace.set('ignoreEntityChanges', true);
|
||||
}
|
||||
@@ -99,7 +91,5 @@ module.exports = {
|
||||
clearEntityChanges,
|
||||
getAndClearEntityChanges,
|
||||
addEntityChange,
|
||||
getEntityFromCache,
|
||||
setEntityToCache,
|
||||
ignoreEntityChanges
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user