removed link remnants

This commit is contained in:
zadam
2019-08-27 21:24:31 +02:00
parent ca2f14a2d0
commit 242bea236f
15 changed files with 53 additions and 532 deletions

View File

@@ -72,11 +72,6 @@ async function getOption(name) {
return await getEntity("SELECT * FROM options WHERE name = ?", [name]);
}
/** @returns {Promise<Link|null>} */
async function getLink(linkId) {
return await getEntity("SELECT * FROM links WHERE linkId = ?", [linkId]);
}
async function updateEntity(entity) {
const entityName = entity.constructor.entityName;
const primaryKeyName = entity.constructor.primaryKeyName;
@@ -144,7 +139,6 @@ module.exports = {
getBranch,
getAttribute,
getOption,
getLink,
updateEntity,
setEntityConstructor
};